* 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.
This commit is contained in:
Jim Kingdon 1993-05-26 04:56:02 +00:00
parent 2f2a70e585
commit 43795ece80
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -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;