This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Adding Registers
- From: "David Mc Kenna" <mckennad at esatclear dot ie>
- To: Andrew Cagney <ac131313 at cygnus dot com>, Keith Seitz <keiths at redhat dot com>, mckennad at esatclear dot ie, insight at sources dot redhat dot com
- Date: Sat, 16 Mar 2002 11:19:38 GMT
- Subject: Re: Adding Registers
- Reply-to: mckennad at esatclear dot ie
Thanks for the help.
Just one or two more questions.
I have modified tm-arm.h from
#define NUM_GREGS 16 /* Number of general purpose registers. */
to
#define NUM_GREGS 18 /* Number of general purpose registers. */
This increases the number of registers that is seen by GDB/Inishgt by 2.
I have modified arm-tdep.c from
"fps", "cpsr"}; /* 24 25 26 27 */
to
"fps", "cpsr", "r13" , "r14" }; /* 24 25 26 27
*/ /*Modified by David
McKenna */
I have recompilied Insight/GDB with no problems and the new registers appear
in the Register window.
I have tried looking for the function target_fetch/store_registers() but I am
unable to locate it in any C file. I am assuming that this is where you define
what memory location you want the registers to look at.
If possible could you point me in the right direction,
Thanks,
Dave Mc Kenna
--
http://www.iol.ie