This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: What's the correct type for {supply,fill}_fpregset?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Kevin Buettner <kevinb at cygnus dot com>,Elena Zannoni <ezannoni at cygnus dot com>, gdb at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 02:21:47 -0500
- Subject: Re: What's the correct type for {supply,fill}_fpregset?
- References: <15354.35304.932930.264859@krustylu.cygnus.com> <1011120174021.ZM18927@ocotillo.lan>
>> The defintions in use are from ppc-linux-nat.c:
>> void fill_fpregset (gdb_fpregset_t *fpregsetp, int regno)
>> void supply_fpregset (gdb_fpregset_t * fpregsetp)
>>
>> Or should the calls in thread-db.c be changed?
>
>
> This has frequently been a source of annoyance for me and I had never
> really taken a close look to see how things ought to be done...
>
> It seems to me that reason for {supply,fill}_[fp,g}regset()'s existence
> is to 1) communicate with /proc on Solaris, Unixware, and AIX5 systems
> and 2) to communicate with the thread library.
DanielJ, did you recently hit this problem with, er, MIPS? Something
about trying to fix it but getting a patch bounced?
Andrew