aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid/Notes
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-19 19:32:07 +0000
committerrsc <devnull@localhost>2004-04-19 19:32:07 +0000
commit564ca709d0e20d4fc46744bd858f14cff94ab382 (patch)
tree47bf49710238a6cb7112682e7bd0885f82544759 /src/cmd/acid/Notes
parent22a7368ef24d5c530a275dd0db0bd4f23b1c3ce3 (diff)
downloadplan9port-564ca709d0e20d4fc46744bd858f14cff94ab382.tar.gz
plan9port-564ca709d0e20d4fc46744bd858f14cff94ab382.tar.bz2
plan9port-564ca709d0e20d4fc46744bd858f14cff94ab382.zip
acid
Diffstat (limited to 'src/cmd/acid/Notes')
-rw-r--r--src/cmd/acid/Notes49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/cmd/acid/Notes b/src/cmd/acid/Notes
new file mode 100644
index 00000000..597bf58c
--- /dev/null
+++ b/src/cmd/acid/Notes
@@ -0,0 +1,49 @@
+Changes from the Plan 9 acid (beyond the
+obvious changes necessary to compile without
+Ken's compiler and with the new libmach interface).
+========================================
+
+the input-line print verb is %Z, so that %L can be for locations
+
+the register block is explicitly "mapped" at 0 by xget1, xget2, ...
+ for compatibility with old acid, even though libmach
+ doesn't participate in this lie anymore.
+
+main accepts pid, file, and core in any order
+
+the ptab only records pids (no ctl fd anymore).
+
+new builtin sysstop(pid) runs pid until the next syscall
+
+map() returns 5-tuples: (name, filename, base, end, offset)
+ filename is new
+
+map() expects a 5-tuple too
+
+strace expects a list of register names and values like
+ {"PC", *PC, "SP", *SP}
+
+strace returns 5-tuples now:
+ {fn, pc, callerpc, paramlist, locallist}
+
+new builtin includepipe(cmd) includes the standard output
+ of running cmd.
+
+symbols returns 4-tuples now: {name, type, addr, file}
+
+new builtin textfile() returns the current set of open text files
+ as a list of {file, base} pairs.
+
+new builtin textfile({file, base}) adds a new file's symbols and text
+ offset by base for relocatables.
+
+new builtin deltextfile(file) removes a file from the set of open text files.
+
+both textfile and deltextfile update symbols.
+
+====
+
+yet to be done:
+
+elflink has the linking info for elf on linux
+