PR binutils/15026

* addr2line.c (translate_addresses): When pretty printing, print
	unknown function names on the same line as unknown symbol names.
This commit is contained in:
Nick Clifton 2013-01-18 13:14:35 +00:00
parent 5965d69d9d
commit a477bfd1c2
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-01-18 Nick Clifton <nickc@redhat.com>
PR binutils/15026
* addr2line.c (translate_addresses): When pretty printing, print
unknown function names on the same line as unknown symbol names.
2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
* objdump.c (dump_target_specific): Fix NULL pointer test.

View File

@ -249,7 +249,12 @@ translate_addresses (bfd *abfd, asection *section)
if (! found)
{
if (with_functions)
printf ("??\n");
{
if (pretty_print)
printf ("?? ");
else
printf ("??\n");
}
printf ("??:0\n");
}
else