From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14376 invoked by alias); 24 Jul 2002 16:04:21 -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 14185 invoked from network); 24 Jul 2002 16:04:17 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 24 Jul 2002 16:04:17 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17XOcb-000404-00; Wed, 24 Jul 2002 11:04:17 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17XOcg-0001PL-00; Wed, 24 Jul 2002 12:04:22 -0400 Date: Wed, 24 Jul 2002 09:04:00 -0000 From: Daniel Jacobowitz To: Lucy Zhang Cc: gdb@sources.redhat.com Subject: Re: Thread signal information Message-ID: <20020724160422.GA5346@nevyn.them.org> Mail-Followup-To: Lucy Zhang , gdb@sources.redhat.com References: <004501ea8fb2$e33da4c0$9a0a0109@zhangl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004501ea8fb2$e33da4c0$9a0a0109@zhangl> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00248.txt.bz2 On Wed, Jul 24, 2002 at 09:00:43AM -0700, Lucy Zhang wrote: > Hi, > > I'm constructing an ELF core dump (conversion from a different formatted > dump). I'm trying to add thread information by using a prstatus struct for > each thread. I was wondering what should I put for the signal information > for each thread. Do I even need this info for threads other than the > faulting thread? Not really. I believe that GDB only recognizes the signal in the first listed thread (or it may have been the last listed thread.... there was a fix in this area recently, I believe). First listed (faulting) certainly makes the most sense, and GDB definitely only cares about one thread. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer