From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Daniel Jacobowitz Cc: Kevin Buettner , Elena Zannoni , gdb@sources.redhat.com Subject: Re: What's the correct type for {supply,fill}_fpregset? Date: Tue, 27 Nov 2001 23:53:00 -0000 Message-ID: <3C04908B.2090605@cygnus.com> References: <15354.35304.932930.264859@krustylu.cygnus.com> <1011120174021.ZM18927@ocotillo.lan> X-SW-Source: 2001-11/msg00307.html Message-ID: <20011127235300.vKUfIW2lc-ly6QxS5NGG99AOD9zAu3JzrQvC8OqABUc@z> >> 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