This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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