From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19495 invoked by alias); 12 Jul 2004 23:38: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 19486 invoked from network); 12 Jul 2004 23:38:43 -0000 Received: from unknown (HELO DYN319563.beaverton.ibm.com) (32.97.110.142) by sourceware.org with SMTP; 12 Jul 2004 23:38:43 -0000 Received: by DYN319563.beaverton.ibm.com (Postfix, from userid 1000) id 2B3ACB385; Mon, 12 Jul 2004 16:36:52 -0700 (PDT) From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: gdb@sources.redhat.com Subject: ptrace & threads question Date: Mon, 12 Jul 2004 23:58:00 -0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407121636.52089.pgilliam@us.ibm.com> X-SW-Source: 2004-07/txt/msg00120.txt.bz2 Hi All, 'ptrace' is documented as acting on processes: it takes a PID as an argument. So if we are in a thread environment, where do we get registers for a particular thread? What does the user area mean in a threads environment? How is this different between NPTL and Linux threads? -=# Paul #=-