This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 6/8] New port: TI C6x: gdbserver
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 21 Jul 2011 13:59:58 +0000 (UTC)
- Subject: Re: [RFA 6/8] New port: TI C6x: gdbserver
- References: <4E2638CE.7050205@codesourcery.com>
In this patch, and also in the main GDB port, I think you've used the
wrong set of register names. Specifically, it appears you used a list
provided by TI on 22 September 2010 as an early draft of the list of DWARF
register numbers for the ABI, which had a typo I pointed out the next day
(NPR should be NRP) and was missing ECR (later inserted in the middle of
the list) and various undocumented control registers (later added at the
end). You should check the list carefully against ABI version 0.9. In
addition, the XML files should reflect the different sets of registers on
each processor variant (for details of what processors have what
undocumented control registers, see the details TI provided on 29 October
2010 - again, with a subsequent correction; the documented registers are
covered in the ISA manuals or in
include/opcode/tic6x-control-registers.h).
--
Joseph S. Myers
joseph@codesourcery.com