From: Daniel Jacobowitz <drow@false.org>
To: Joern Rennecke <joernr@arc.com>
Cc: gdb@sourceware.org
Subject: Re: How do I replace DEPRECATED_TM_FILE?
Date: Thu, 21 Jun 2007 17:44:00 -0000 [thread overview]
Message-ID: <20070621174432.GA22192@caradoc.them.org> (raw)
In-Reply-To: <20070621173342.GE8169@elsdt-razorfish.arc.com>
On Thu, Jun 21, 2007 at 06:33:42PM +0100, Joern Rennecke wrote:
> except for ARC_RET_REGNUM and ARC_ORIG_R8_REGNUM, these registers
> exist also for the embedded target, but with different numbers;
> the embedded target allos access to numerous extra auxilary registers.
Which registers are available to talk to is a property of the target;
you might want to look at target descriptions, which have been my
project for the last year or two. Which ones a DWARF number refers to
are a gdbarch property.
> > That determines the answer to your question. If it's the dwarf2
> > mapping, for instance, you'd put overrides in an OS/ABI sniffer in the
> > Linux tdep file.
> >
> > I've done a lot of work lately to isolate GDB's internal register
> > numbering from various external numberings. You can probably use the
> > same internal registers in most places now.
>
> Another difference is the osabi setting. arc_gdbarch_init also calls
> different functions for the different subtargtes to set a number of other
> settings.
No, I mean, you use the OSABI setting to determine which set of dwarf
registers you mean. I don't know what you meant by "another
difference is the OSABI setting"; you should not be setting the OSABI
in your arc_gdbarch_init, you should be using the normal sniffers and
letting gdbarch_init_osabi dispatch appropriately.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-06-21 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 16:13 Joern Rennecke
2007-06-21 16:21 ` Daniel Jacobowitz
2007-06-21 17:33 ` Joern Rennecke
2007-06-21 17:44 ` Daniel Jacobowitz [this message]
2007-07-13 17:32 ` Joern Rennecke
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=20070621174432.GA22192@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=joernr@arc.com \
/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