This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Question on power-core.xml, register: r1.
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Anmol P. Paralkar" <b07584 at freescale dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 11 May 2008 17:30:10 -0400
- Subject: Re: Question on power-core.xml, register: r1.
- References: <Pine.LNX.4.64.0805091823590.22847@ld0159-tx32>
On Fri, May 09, 2008 at 06:40:42PM -0500, Anmol P. Paralkar wrote:
> I note the use of the term: "may"; while power-core.xml marks 'pc' and 'lr'
> as type="code_ptr", it does not mark 'r1', the stack-pointer as
> type="data_ptr". Is there a specific reason why this is so?
No, there is no particular reason. Marking code_ptr is a user visible
improvement but marking data_ptr does not make much difference. In
some places the register will be displayed as hex once you change it
to be a pointer.
--
Daniel Jacobowitz
CodeSourcery