This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa:threads] Report when using libthread_db
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: ac131313 at redhat dot com, kettenis at chello dot nl, msnyder at redhat dot com
- Cc: cgd at broadcom dot com, ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Fri, 22 Aug 2003 21:48:53 -0400
- Subject: Re: [rfa:threads] Report when using libthread_db
Tested on native i686-pc-linux-gnu, red hat linux 8,
gcc v2 and v3, dwarf-2 and stabs+.
The extra messages cause regressions in three tests:
gdb.base/relocate.exp: add-symbol-file relocate.o $offset
gdb.base/relocate.exp: add-symbol-file relocate.o 0
gdb.stabs/weird.exp: Errors reading weirdx.o
The relocate.exp FAILs happened in every configuration,
and the weird.exp FAILs happened with -gstabs+.
Looking at gdb.log there doesn't appear to be an actual semantic
problem. Still I would be nervous about sliding this into the release.
How about HEAD only, and then fix up the affected tests?
Michael C
2003-08-05 Andrew Cagney <cagney@redhat.com>
* thread-db.c (verbose_dlsym): New function.
(thread_db_load): Use verbose_dlsym
(thread_db_new_objfile): Print that libthread_db was loaded, and
that thread debugging was enabled.