This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Changes to *_*regset functions
- To: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Subject: Re: [RFC] Changes to *_*regset functions
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 13 Jul 2001 14:46:59 -0400
- Cc: gdb at sources dot redhat dot com
- References: <20010713102605.A32410@nevyn.them.org>
> Along with the cross-core handling, and eventually cross-thread support, I
> want to multi-arch supply_gregset/fill_gregset/supply_fpregset/fill_fpregset,
> and make them target rather than native functions where possible. The issue,
> of course, is that the *regset_t and *reg_t types are not available to us
> when cross compiling, and attempting to make them available seems the wrong
> way to go.
Do they belong in gdbarch? gdbarch contains things that describe the
target systems ISA, ABI, ...
Something like supply_gregset() might use gdbarch. I don't know that it
belongs in multi-arch.
Andrew