This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Makefile setting
- To: Stephane dot Bihan at arccores dot com
- Subject: Re: Makefile setting
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 13 Apr 2000 12:36:53 +1000
- CC: gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <OF0153B737.255C7F44-ON802568BE.002C47F0@risccores.com>
Stephane.Bihan@arccores.com wrote:
> the ARC supported implementation of gdb we are trying to achieve is
> "extensible".
> The register description is minimal in the sense that only the basecase
> registers are described in REGISTER_NAMES.
> This description is updated (more registers are added) when we connect to the
> simulator.
Hmm, I'd suggest investigating the multi-arch framework. It better
handles things like an architecture suddenly deciding it needs to be
changed. A target can also forced multi-arch to re-select its
architecture if needed.
http://sourceware.cygnus.com/gdb/papers/multi-arch/
For the register extensions, are they known by arcExtMap or are they
obtained from the target?
Andrew