From 43795ece80a10c522ca0f7e14c5663e7219008ce Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 26 May 1993 04:56:02 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 5 +++++ gdb/printcmd.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52197a9ed7..7dba179cb5 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 00fb3ea3e4..b5bf3d8d06 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; -- 2.34.1