1de-Bourned; reformatted to Joy Normal Form 2 3old SDB relics clobbered 4 5linted 6 7some work done to prepare for /proc and discarding of ptrace 8interface. Reading sequences of bytes using ptrace is now done 9portably, and considerably more efficiently for commands that 10repeatedly fetch objects smaller than an `int' (e.g., `l' command, `s' 11and `S' formats). 12 13adb used to accept 0t, 00t, 0<overflow-to-0>t, etc as decimal, and so 14forth. now only the advertised sequences (and their uppercase 15counterparts) are accepted: 0x, 0X, 0t, 0T, 0o, 0O. 16 17"unexpected ')'" error is gone; you now get "bad command". 18 19fixed crash if you asked for <expr> # 0 20 21fixed crash on input like 0.999999999999999999999999999999999999999 22 23some expressions using variable 0 may behave differently. In 24particular, it used to be that `8000=C;<0=X' would first print ^@, then 25print 8000. Now the =C truncates, so that you get 0 instead of 8000. 26 27finally got rid of that stupid 28 _foo: 29 _foo: 0 30output format. _foo appears exactly once now. (This may need some 31further work.) 32 33reenabled the 1, 2, and 4 formats (not that 2 and 4 are needed, as they 34are the same as w and W). To get these you must write \1, \2, or \4, 35or the code will assume (as it used to) that these are prefix counts. 36 37the VAX instruction decoder will now print comments in some questionable 38situations that sometimes arise when attempting to print data as 39instructions. Previously it would print nonsense and rely upon the 40user to discover it as nonsense. 41 42fixed radix code (previously everything that was not hex was decimal) 43 44expression>pc now works as an alternate method for changing the pc 45(the usual expr:r, expr:s, expr:c formats still work). 46 47fixed annoying VAX feature that printed clrl/clrf instructions as 48clrf instructions, and likewise for mova and pusha: now l is preferred 49to f, q to d, etc., when two instructions have the same opcode. 50 518a format no longer prints dot 9 times. I doubt anyone will miss this... 52 53radix code now works more the old tahoe adb: a negative radix tells 54adb to print negative numbers with leading `-'; else all are assumed 55unsigned. The new (internal and external) `v' and `V' formats print 56in the current radix, but always signed (used by, e.g., the vax 57instruction disassembler, for fp offsets). 58