This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: parcelling up struct gdbarch
- To: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Subject: Re: parcelling up struct gdbarch
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 18 Jul 2001 11:06:01 -0400
- Cc: gdb at sources dot redhat dot com
- References: <20010713001635.A19524@nevyn.them.org>
Daniel,
Somewhere in this really long thread you suggested moving the code that
mapped:
<target signal>
<-> gdb signal (aka enum target_signal ulgh!)
out of target.[hc] and into its own file.
Yes, this sounds like a good idea regardless. A layer (*-nat.c) in the
target stack _uses_ the mapping. It isn't part of the mapping.
One day GDB might learn to handle multiple mappings but for the moment
just one hard-wired mapping is working pretty good.
Andrew