This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What to do with info addr and location expressions


Hi Jim,

>> One thing though - readelf does not, and should not, used the bfd
>> library.  One of its main goals is to provide an alternative to bfd
>> for parsing and displaying ELF files, so that it can act as a
>> sanity/bug check.
>
> The natural home for such code would be a libdwarf, but we don't have
> that yet.  In the the mean time, could the code live in libiberty,
> like the demangler?

I do not think that this is really suitable for libiberty.

The simplest method would be to break the code out into a separate
file that lives in the binutils/ directory and which could then be
compiled into either readelf or gdb.

Cheers
        Nick
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]