mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
readelf: print 0x0 as 0, and remove trailing spaces
This changes readelf output a little, removing the 0x prefix on hex output when the value is 0, except in cases where a fixed field width is shown. %#010x is not a good replacement for 0x%08x.
This commit is contained in:
@ -7,9 +7,9 @@
|
||||
Contents of the \.z?debug_ranges section:
|
||||
|
||||
Offset Begin End
|
||||
00000000 00000001 00000002
|
||||
00000000 00000001 00000002 ?
|
||||
00000000 <End of list>
|
||||
00000010 00000000 00000002
|
||||
00000010 00000000 00000002 ?
|
||||
00000010 <End of list>
|
||||
|
||||
#pass
|
||||
|
Reference in New Issue
Block a user