Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joern Rennecke <joernr@arc.com>
To: gdb@sourceware.org
Subject: How do I replace DEPRECATED_TM_FILE?
Date: Thu, 21 Jun 2007 16:13:00 -0000	[thread overview]
Message-ID: <20070621161305.GD8169@elsdt-razorfish.arc.com> (raw)

I've read that instead of setting DEPRECATED_TM_FILE, we should add new
members to the target vector.  However, how is the target vector supposed to
be initialized differently for different subtargets?

E.g. arc700 can both be used in an 'embedded' configuration and as a linux
target.  The register numbers in gdb are different for these configurations.
The register numbers used to be defined in separate DEPRECATED_TM_FILE
files.
I can add xxx_regnum members to the target vector and ARC_XX_REGNUM
accessor macros, but somehow I have to decide in arc_gdbarch_init how I am
supposed to initialize the target vector.


             reply	other threads:[~2007-06-21 16:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 16:13 Joern Rennecke [this message]
2007-06-21 16:21 ` Daniel Jacobowitz
2007-06-21 17:33   ` Joern Rennecke
2007-06-21 17:44     ` Daniel Jacobowitz
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=20070621161305.GD8169@elsdt-razorfish.arc.com \
    --to=joernr@arc.com \
    --cc=gdb@sourceware.org \
    /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