rsc | 564ca70 | 2004-04-19 19:32:07 +0000 | [diff] [blame] | 1 | Changes from the Plan 9 acid (beyond the |
| 2 | obvious changes necessary to compile without |
| 3 | Ken's compiler and with the new libmach interface). |
| 4 | ======================================== |
| 5 | |
| 6 | the input-line print verb is %Z, so that %L can be for locations |
| 7 | |
| 8 | the register block is explicitly "mapped" at 0 by xget1, xget2, ... |
| 9 | for compatibility with old acid, even though libmach |
| 10 | doesn't participate in this lie anymore. |
| 11 | |
| 12 | main accepts pid, file, and core in any order |
| 13 | |
| 14 | the ptab only records pids (no ctl fd anymore). |
| 15 | |
| 16 | new builtin sysstop(pid) runs pid until the next syscall |
| 17 | |
| 18 | map() returns 5-tuples: (name, filename, base, end, offset) |
| 19 | filename is new |
| 20 | |
| 21 | map() expects a 5-tuple too |
| 22 | |
| 23 | strace expects a list of register names and values like |
| 24 | {"PC", *PC, "SP", *SP} |
| 25 | |
| 26 | strace returns 5-tuples now: |
| 27 | {fn, pc, callerpc, paramlist, locallist} |
| 28 | |
| 29 | new builtin includepipe(cmd) includes the standard output |
| 30 | of running cmd. |
| 31 | |
| 32 | symbols returns 4-tuples now: {name, type, addr, file} |
| 33 | |
| 34 | new builtin textfile() returns the current set of open text files |
| 35 | as a list of {file, base} pairs. |
| 36 | |
| 37 | new builtin textfile({file, base}) adds a new file's symbols and text |
| 38 | offset by base for relocatables. |
| 39 | |
| 40 | new builtin deltextfile(file) removes a file from the set of open text files. |
| 41 | |
| 42 | both textfile and deltextfile update symbols. |
| 43 | |
| 44 | ==== |
| 45 | |
| 46 | yet to be done: |
| 47 | |
| 48 | elflink has the linking info for elf on linux |
| 49 | |