*gregset_t misuse (was Re: S390 GDB patch for Dignus Linux/390 compiler support)

Michael Snyder msnyder@redhat.com
Fri Mar 22 12:14:00 GMT 2002


Greg Alexander wrote:
> 
> I'm having a hard time figuring out how exactly the ps_l{get,set}regs()
> and thread_db_{fetch,store}_registers() functions get used, but my
> proposal would be for them to use gdb_gregset_t instead of prgregset_t

We want them to have the same prototype on Linux as on
Solaris.  Can you persuade Sun to change their existing
interface?  ;-)

The idea was originally that the same interface could be used
to debug threads on Linux and on Solaris.  We haven't quite
been able to achieve that, but it's still a worthwhile goal.



More information about the Gdb-patches mailing list