This is the mail archive of the gdb@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: Question on power-core.xml, register: r1.


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


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