From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: [RFC] Changes to *_*regset functions Date: Fri, 13 Jul 2001 10:26:00 -0000 Message-id: <20010713102605.A32410@nevyn.them.org> X-SW-Source: 2001-07/msg00132.html 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