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: [RFA 4/5] New port: CR16: gdbserver


Hi Pedro,
Thanks for your feedback.

> No, this needs to be fixed.  The .dat registers must agree with GDB's remote
> register set.  Once that is fixed, you'll be able to put more registers
> in the "expedite" set

I am working on these points. From what I see, my cr16_regmap needs to be
4-byte aligned so that ptrace calls within linux-low.c can use these without
causing any I/O errors. The updated reg.dat file would not match in offset
to cr16_regmap, but would match gdb.
Some additional code would be needed to handle the padding and packing through 
ptrace in the kernel. This would allow the correct register number to be 
accessed which would match gdb as well as reg-cr16.dat.
Let me know if you have any thoughts on this.

Regards,
Kaushik



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