Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How do I replace DEPRECATED_TM_FILE?
@ 2007-06-21 16:13 Joern Rennecke
  2007-06-21 16:21 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Joern Rennecke @ 2007-06-21 16:13 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-13 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-21 16:13 How do I replace DEPRECATED_TM_FILE? Joern Rennecke
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox