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/1655: Undocumented feature: how to build gdb for threads


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

From: Daniel Jacobowitz <drow@false.org>
To: rtrask@earthlink.net
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/1655: Undocumented feature: how to build gdb for threads
Date: Sun, 23 May 2004 22:05:51 -0400

 On Thu, May 20, 2004 at 01:05:10AM -0000, rtrask@earthlink.net wrote:
 > We wanted to build gdb for debugging threaded programs. How should gdb be configured to do this? There is nothing in the documentation, nothing in the --help, nothing ....
 > We wasted plenty of time before we stumbled on the answer:
 > add the field --enable-threads as an argument to configure.
 > My memory is failing sometimes but I'm sure this wasn't required in earlier releases. Now it's required for sure but you can't find this out anywhere easily.
 > Worse: when you query an existing gdb executable (i.e. ./gdb --version) it reports other args supplied when it was configured but does NOT report the --enable-threads arg.
 > 
 > This makes building and maintaining gdb the stuff of magic and folklore!
 
 What target platform are you talking about?  Are you using unmodified
 GDB sources?  GDB doesn't have an --enable-threads option and should
 not need any specific options to support threads.
 
 -- 
 Daniel Jacobowitz


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