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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/printcmd.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52197a9..7dba179 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Tue May 25 20:44:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * 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. + * source.c (line_info): If we don't find a symtab, print more useful output, including the symbolic address. 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; |