From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29168 invoked by alias); 28 Nov 2001 07:27:07 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29133 invoked from network); 28 Nov 2001 07:27:04 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by hostedprojects.ges.redhat.com with SMTP; 28 Nov 2001 07:27:04 -0000 Received: from drow by nevyn.them.org with local (Exim 3.32 #1 (Debian)) id 168z7r-0002p6-00; Wed, 28 Nov 2001 02:27:23 -0500 Date: Mon, 19 Nov 2001 08:35:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Kevin Buettner , Elena Zannoni , gdb@sources.redhat.com Subject: Re: What's the correct type for {supply,fill}_fpregset? Message-ID: <20011128022723.A10819@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Kevin Buettner , Elena Zannoni , gdb@sources.redhat.com References: <15354.35304.932930.264859@krustylu.cygnus.com> <1011120174021.ZM18927@ocotillo.lan> <3C04908B.2090605@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C04908B.2090605@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-11/txt/msg00195.txt.bz2 Message-ID: <20011119083500.ClV8f5lOexeghIWnjq2Ojw8JijUxYpjLt9WX3Ao8670@z> 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