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 3/4] aix: add support for dwarf2.


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

Tom> In which case it seems like xcoffread.c should have a second
Tom> struct sym_fns, with a NULL entry for this method.

Tristan> But how would that work ?  find_sym_fns finds the sym_fns
Tristan> struct according to the bfd flavour, and there is only one
Tristan> xcoff flavour.

You can change the pointer to an unregistered sym_fns.
See how elfread.c handles this.

I don't actually know anything about XCOFF or xcoffread.c.
If you think your current approach is safe enough, I am ok with it.

Tom


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