Re: parcelling up struct gdbarch

Andrew Cagney
2001-07-18T08:09:00Z

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