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