From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20659 invoked by alias); 12 Dec 2003 18:18:13 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20646 invoked from network); 12 Dec 2003 18:18:12 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 12 Dec 2003 18:18:12 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AUrrg-0005x8-Af; Fri, 12 Dec 2003 13:18:12 -0500 Date: Fri, 12 Dec 2003 18:18:00 -0000 From: Daniel Jacobowitz To: "Amit S. Kale" Cc: gdb@sources.redhat.com Subject: Re: gdbserver ps_lgetregs implementation for nptl Message-ID: <20031212181811.GA22730@nevyn.them.org> Mail-Followup-To: "Amit S. Kale" , gdb@sources.redhat.com References: <200312111513.23927.amitkale@emsyssoft.com> <20031211141429.GB26315@nevyn.them.org> <200312122036.57453.amitkale@emsyssoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312122036.57453.amitkale@emsyssoft.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00185.txt.bz2 On Fri, Dec 12, 2003 at 08:36:57PM +0530, Amit S. Kale wrote: > Implementing the commented out code was trivial for i386 because it already > has register sets. I implemented all ps_*getregs functions. > > A change was needed in gdb. I had to add support for qSymbol in > remote.c:remote_wait. This was needed for a symbol query from nptl. > > I am pasting below code from ps_lsetregs modified by me. I removed creation of > a register cache. before fetch_registers and fill_function. Is this the right > way of doing it? Before I look at your code, do you have or plan to have an FSF copyright assignment for GDB? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer