From: Andrew Cagney <ac131313@cygnus.com>
To: mckennad@esatclear.ie
Cc: Keith Seitz <keiths@redhat.com>, insight@sources.redhat.com
Subject: Re: Adding Registers
Date: Wed, 13 Feb 2002 10:05:00 -0000 [thread overview]
Message-ID: <3C6AAADA.4070201@cygnus.com> (raw)
In-Reply-To: <3c932a4a.62b9.0@esatclear.ie>
Just FYI,
The register names in the Arm target are no longer hardwired. Instead
functions are used to map between a name and their internal number.
Have a look around any of the newer targets for how this is done. Grep
for gdbarch_init.
Andrew
> 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 */
>
>
next prev parent reply other threads:[~2002-02-13 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 3:40 David Mc Kenna
2002-02-13 6:49 ` Duane Ellis
2002-02-13 10:05 ` Andrew Cagney [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-14 4:32 David Mc Kenna
2002-02-14 7:03 ` Duane Ellis
2002-02-14 7:39 ` Andrew Cagney
2002-02-12 6:27 David Mc Kenna
2002-02-12 7:17 ` Duane Ellis
2002-02-12 8:58 ` Keith Seitz
2002-02-12 19:26 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C6AAADA.4070201@cygnus.com \
--to=ac131313@cygnus.com \
--cc=insight@sources.redhat.com \
--cc=keiths@redhat.com \
--cc=mckennad@esatclear.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).