This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH 2/4] dwarf2read.c: handle alternate dwarf2 debug sections name.


>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:

Tristan> Unfortunately, some object file format cannot accept the
Tristan> standard dwarf2 debug section names.  This is in particular the
Tristan> case of XCOFF (aix), which has only 8 chars section names.  In
Tristan> order to support dwarf2 on aix, we need to allow alternate
Tristan> section names.

It seems reasonable to me, but I would like to understand why you took
this route, rather than the section-name-remapping approach taken by
bfd/mach-o.c.

The mach-o approach has the nice quality that it is encapsulated in BFD.

Tom


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