[RFA 4/5] New port: CR16: gdbserver

Kaushik Phatak Kaushik.Phatak@kpitcummins.com
Wed Jan 23 12:50:00 GMT 2013


> You mean additional code in gdbserver, or in the kernel?  I'd think the
> former.
Yes, the code changes would be for gdbserver and gdb. 
I would prefer to keep my kernel code changes to a minimal.

> always expose the registers as pairs in the remote protocol,
> and then implement the user visible non-paired registers in
> GDB as pseudo registers (and hide the pairs).  IOW, your .dat
> file would stay the same, and gdbserver wouldn't change.  GDB's
> core cr16 register numbers would be decoupled from the RSP
> register set.
Yes, I agree. Disturbing the .dat file is causing issues in the 
remote protocol. So, using pseudo registers within gdb would be a 
better way to proceed as long as I can get the register numbers to 
match my expedite register numbers.

Thanks,
Kaushik




More information about the Gdb-patches mailing list