This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: *gregset_t misuse (was Re: S390 GDB patch for Dignus Linux/390 compiler support)
- From: Michael Snyder <msnyder at redhat dot com>
- To: Greg Alexander <greg at dignus dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, gdb-patches at sources dot redhat dot com, David Rivers <rivers at dignus dot com>, barrow_dj at yahoo dot com
- Date: Fri, 22 Mar 2002 12:03:11 -0800
- Subject: Re: *gregset_t misuse (was Re: S390 GDB patch for Dignus Linux/390 compiler support)
- Organization: Red Hat, Inc.
- References: <200203181558.g2IFwG087850@greg.dignus.com>
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.