This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: threads/1938: gdb gives incorrect thread numbering and is unstable


The following reply was made to PR threads/1938; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: pje@haystack.mit.edu
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/1938: gdb gives incorrect thread numbering and is unstable
Date: Tue, 3 May 2005 16:47:47 -0400

 On Tue, May 03, 2005 at 08:35:44PM -0000, pje@haystack.mit.edu wrote:
 > >Description:
 > When run on a multithreaded program, gdb gives impossibly large
 > negative thread IDs.
 
 No, they are correct.  Thread IDs in NPTL are pointer values.  GDB
 should display them as unsigned, that's all.
 
 >  Additionally, debugging the program often
 > results in segfaults and other stack instabilities.
 
 Your example didn't show any of these.
 
 > gdb ./test_threads
 > GNU gdb Red Hat Linux (6.1post-1.20040607.62rh)
 
 You may want to report bugs in this version of GDB to Red Hat directly.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]