From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12078 invoked by alias); 28 Nov 2001 07:53:52 -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 12054 invoked from network); 28 Nov 2001 07:53:50 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by hostedprojects.ges.redhat.com with SMTP; 28 Nov 2001 07:53:50 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 4A2E83DC2; Wed, 28 Nov 2001 02:21:47 -0500 (EST) Message-ID: <3C04908B.2090605@cygnus.com> Date: Mon, 19 Nov 2001 13:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Kevin Buettner , Elena Zannoni , gdb@sources.redhat.com Subject: Re: What's the correct type for {supply,fill}_fpregset? References: <15354.35304.932930.264859@krustylu.cygnus.com> <1011120174021.ZM18927@ocotillo.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00200.txt.bz2 >> 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 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