Re: [RFC] x86-64 targeted gdb and corefiles

Andrew Cagney
2002-05-29T02:19:03Z

> As far as I'm concerned, it's simply not appropriate to be using generic
>> "regset" routines, because the names of those routines inherently make
>> them impossible to use for cross-debugging, especially in a truly multi-arch
>> environment (or even one as simple as "32-bit code running on x86-64").
>
>
> Seconded; perhaps with all the attention cross cores have been getting
> lately it's time for a better framework for this? I was thinking
> something like:
>
> struct regset_handler {
> enum type regset_kind; /* general, FP, extended */
> int size;
> void (*supply)();
> void (*fetch)();
> };

While something like this is definitly needed, I think it is getting
slightly beyond the bounds of what MichaelL needs to do - get core files
working, using current mechanisms, for x86-64.

enjoy,
Andrew