From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12286 invoked by alias); 15 Dec 2003 06:08:49 -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 12279 invoked from network); 15 Dec 2003 06:08:48 -0000 Received: from unknown (HELO svr44.ehostpros.com) (66.98.192.92) by sources.redhat.com with SMTP; 15 Dec 2003 06:08:48 -0000 Received: from [61.11.17.253] (port=10012 helo=askii-pc) by svr44.ehostpros.com with asmtp (Exim 4.24) id 1AVlua-00071P-8m; Sun, 14 Dec 2003 22:08:56 -0800 From: "Amit S. Kale" Organization: EmSysSoft To: Jim Blandy , Daniel Jacobowitz Subject: Re: gdbserver ps_lgetregs implementation for nptl Date: Mon, 15 Dec 2003 06:08:00 -0000 User-Agent: KMail/1.5 Cc: gdb@sources.redhat.com References: <200312111513.23927.amitkale@emsyssoft.com> <20031212181811.GA22730@nevyn.them.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312151138.10219.amitkale@emsyssoft.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr44.ehostpros.com X-AntiAbuse: Original Domain - sources.redhat.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - emsyssoft.com X-SW-Source: 2003-12/txt/msg00204.txt.bz2 Sorry, I wasn't aware of the legal implications of sending this code. I'll get the legal issues sorted out in a couple of days and send it again. On Sunday 14 Dec 2003 12:06 am, Jim Blandy wrote: > 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. -- Amit Kale EmSysSoft (http://www.emsyssoft.com) KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)