[PATCH v5 3/5] objdump: Add variable types and structure for DWARF info parsing

Nick Clifton nickc@redhat.com
Fri Oct 31 11:41:12 GMT 2025


Hi Jan, Hi Guillaume,

> On 28.10.2025 11:30, Guillaume VACHERIAS - foss wrote:
>> Thanks for all the reviews, I've learnt a lot with upstream
>> contribution throughout these exchanges !
>>
>> The other approach of implementing a new "gnu-dwarfdump" is
>> definitively more expensive. Though it would be interesting for me to do it
>> as a personal side project !
>>
>> However, I just wanted to know whether is possible that the functionality
>> can be contributed to readelf. As "readelf can provide more information about an
>> ELF file than is provided by objdump.  In particular it can display DWARF
>> debugging information".
> 
> I remain hesitant. Nick - any opinion?

Err, OK, I admit that I am out of the loop on this one.  What exactly is
the issue ?

Obviously both objdump and readelf can display DWARF debug information.
And since they use the same source file to do this, their functionality
ought to be basically equivalent.  What am I missing ?

Cheers
   Nick





More information about the Binutils mailing list