This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] x86-64 targeted gdb and corefiles


> 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



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