From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11918 invoked by alias); 11 Dec 2003 09:43:57 -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 11909 invoked from network); 11 Dec 2003 09:43:54 -0000 Received: from unknown (HELO svr44.ehostpros.com) (66.98.192.92) by sources.redhat.com with SMTP; 11 Dec 2003 09:43:54 -0000 Received: from [61.11.17.253] (port=10024 helo=askii-pc) by svr44.ehostpros.com with asmtp (Exim 4.24) id 1AUNMX-0002SF-Jz for gdb@sources.redhat.com; Thu, 11 Dec 2003 01:44:01 -0800 From: "Amit S. Kale" Organization: EmSysSoft To: gdb@sources.redhat.com Subject: gdbserver ps_lgetregs implementation for nptl Date: Thu, 11 Dec 2003 09:43:00 -0000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312111513.23927.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 - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - emsyssoft.com X-SW-Source: 2003-12/txt/msg00169.txt.bz2 Hi, I am trying to debug nptl programs using gdbserver on x86 platform. First problem I found was missing ps_get_thread_area, which was easy to copy from the implementation in gdb. Then error return from ps_lgetregs caused a problem. ps_lgetregs has come code, though it's commented out. Any ideas on completing that code? Thanks. -- Amit Kale EmSysSoft (http://www.emsyssoft.com) KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)