Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [RFC] Changes to *_*regset functions
@ 2001-07-13 10:26 Daniel Jacobowitz
  2001-07-13 11:47 ` Andrew Cagney
  2001-07-13 12:21 ` Kevin Buettner
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2001-07-13 10:26 UTC (permalink / raw)
  To: gdb

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.

Given that almost every call to or definition of these functions starts by
casting its arguments anyway, I'd like to change the prototypes to the
somewhat vaguer:

extern void supply_gregset (char *gregs);
extern void supply_fpregset (char *fpregs);
extern void fill_gregset (char *gregs, int regno);
extern void fill_fpregset (char *fpregs, int regno);

It'll add a couple of casts, and remove a couple, and end up with functions
that can be safely defined in a cross debugger.

Any objection to this?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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

end of thread, other threads:[~2001-07-13 13:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 10:26 [RFC] Changes to *_*regset functions Daniel Jacobowitz
2001-07-13 11:47 ` Andrew Cagney
2001-07-13 12:35   ` Kevin Buettner
2001-07-13 12:43     ` Daniel Jacobowitz
2001-07-13 12:55     ` Andrew Cagney
2001-07-13 12:21 ` Kevin Buettner
     [not found]   ` <3B4F4CC1.1A9076AB@home.com>
     [not found]     ` <1010713195425.ZM20451@ocotillo.lan>
2001-07-13 13:07       ` Can you point me in the right direction Stephen Smith
2001-07-13 13:29         ` Kevin Buettner

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