This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What's the correct type for {supply,fill}_fpregset?


On Wed, Nov 28, 2001 at 02:21:47AM -0500, Andrew Cagney wrote:
> >>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?

This is in the same area, but not really related, I think.  My problem
was prgregset_t not matching gdb_gregset_t, and likewise for
prfpregset_t (complicated by gdb_prfpregset_t).  I'm going to post a
patch for that as soon as I remember to finish it.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]