http://sourceware.org/bugzilla/show_bug.cgi?id=15026
Bug #: 15026 Summary: addr2line pretty-print for unknown symbols Product: binutils Version: 2.23 Status: NEW Severity: enhancement Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: dhe...@gmail.com Classification: Unclassified addr2line, when used with options -f and -p combined, does not output a single line for unknown symbols. Instead, it outputs two lines: ?? ??:0 Which is in contrast with the output of other symbols (in a single line). The man page does not precisely define this behavior: "If the -p option is used then the output for each input address is displayed on one, possibly quite long, line. If -p is not used then the output is broken up into multiple lines, based on the paragraphs above." "If the file name or function name can not be determined, addr2line will print two question marks in their place. If the line number can not be determined, addr2line will print 0." However, this is quite annoying when producing scripts, since the unknown symbol is the only exception that requires a particular processing. It seems it would be more coherent to only output a single line containing "??:0" in this case. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils