From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26287 invoked by alias); 13 Dec 2003 18:39:44 -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 26279 invoked from network); 13 Dec 2003 18:39:44 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 13 Dec 2003 18:39:44 -0000 Received: by zenia.home (Postfix, from userid 5433) id 8256F20766; Sat, 13 Dec 2003 13:36:59 -0500 (EST) To: Daniel Jacobowitz Cc: "Amit S. Kale" , gdb@sources.redhat.com Subject: Re: gdbserver ps_lgetregs implementation for nptl References: <200312111513.23927.amitkale@emsyssoft.com> <20031211141429.GB26315@nevyn.them.org> <200312122036.57453.amitkale@emsyssoft.com> <20031212181811.GA22730@nevyn.them.org> From: Jim Blandy Date: Sat, 13 Dec 2003 18:39:00 -0000 In-Reply-To: <20031212181811.GA22730@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-12/txt/msg00190.txt.bz2 Daniel Jacobowitz writes: > 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? I wasn't able to find one, so I sent Amit the form off-list.