How to debug user programs with gdb.
[pintos-anon] / TODO
diff --git a/TODO b/TODO
index 3ccce4bb9daeb7a03dfcbbbac464261910378dc6..7c9c42b841e0c2f820c789c315eb17f8491d751a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,6 +1,31 @@
 -*- text -*-
 
-* The tests in tests/ don't apply the grading patches.
+* Test pintos with GSX.
+
+* Get rid of warnings for NDEBUG build.
+
+* Need targets for checking single tests or single subdirs
+
+  - `make check' should say how to get more information
+
+  - `make recheck', `make clean-check'
+
+* Need to put time limits on tests.
+
+* Add a way for students to prints messages ignored by the autograder.
+
+  - Ignore text between /* and */.
+
+  - Allow for a comment on `exit' lines?
+
+* Improve automatic interpretation of exception messages.
+
+* Remove names from synchronization primitives?  They don't seem
+  useful in practice.
+
+* debug_backtrace() in kernel should only dereference valid pointers.
+
+* Mention how to use add-symbol-file in gdb.
 
 * We need better and more example programs.
 
@@ -9,13 +34,8 @@
 
   - How about `diff' and `cmp' programs?
 
-* Make it clear that the students own their code, because there was some
-  confusion on that point.
-
 * Threads:
 
-  - join-invalid doesn't compile if tid_t is not scalar type.
-
   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
     submission from win0405 is graded incorrectly.
 
     project 3 and in real OSes.  Also revise the grading criteria to
     match.
 
-  - Move `join' implementation here, from `threads' project, to help
-    normalize the project difficulties.
-
-  - The semantics of the join system call should change so that it
-    only returns the exit code once.
-
   - Mark read-only pages as actually read-only in the page table.  Or,
     since this was consistently rated as the easiest project by the
     students, require them to do it.
 
     Alternatively, shrink the inode size.
 
-  - Add mkdir and ls example user programs.
-
   - Add option to disable buffer cache.
 
-  - Get rid of "dump" commands--they're not really useful.
-
   - Sample solution.
 
   - Need a better way to measure performance improvement of buffer
@@ -86,6 +96,8 @@
   - Add explanations of what "real" OSes do to give students some
     perspective.
 
+  - GNU make 3.80 or later is required.
+
 * Assignments:
 
   - Add extra credit:
 
     . everything needed for getcwd()
 
-  - Add src/testcases/vm, src/testcases/filesys and make it clear to use
-    them?
-
 * Tests:
 
   - Release some of them.
 
 * Code:
 
-  - Rewrite quick_sort() to use heap sort, for O(1) stack usage.
-
-  - Make printf() test actually check its results.
-
-  - Make threads test use a program and arguments like the other
-    projects.
+  - Need an optimization barrier and an explanation of it in the
+    documentation.
 
-  - Revise command-line arguments for sensibility instead of for
-    Nachos compatibility.
+  - Need to check the wait system call more thoroughly.