diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-26 04:56:02 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-26 04:56:02 +0000 |
commit | 43795ece80a10c522ca0f7e14c5663e7219008ce (patch) | |
tree | 980eadb4cf894a4ae48f0be1c556d629f5505e2a /gdb/printcmd.c | |
parent | 2f2a70e585b2c8671b33d61fafd6f038c5bce76c (diff) | |
download | gdb-43795ece80a10c522ca0f7e14c5663e7219008ce.zip gdb-43795ece80a10c522ca0f7e14c5663e7219008ce.tar.gz gdb-43795ece80a10c522ca0f7e14c5663e7219008ce.tar.bz2 |
* printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
* source.c (line_info): Change "pc" to "address" in messages and
use print_address for addresses.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 00fb3ea..b5bf3d8 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -309,7 +309,12 @@ print_formatted (val, format, size) break; case 'i': - wrap_here (""); /* Force output out, print_insn not using _filtered */ + /* The old comment says + "Force output out, print_insn not using _filtered". + I'm not completely sure what that means, I suspect most print_insn + now do use _filtered, so I guess it's obsolete. */ + /* We often wrap here if there are long symbolic names. */ + wrap_here ("\t"); next_address = VALUE_ADDRESS (val) + print_insn (VALUE_ADDRESS (val), stdout); break; |