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.


On May 24, 2011, at 4:55 PM, Tom Tromey wrote:

>>>>>> "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.

Thank you for the pointer.

> 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.

Well, I think it is safe enough, but I'd prefer to clarify the point.
Let me think about that a little bit.

Tristan.


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