This is the mail archive of the gdb-patches@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: [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.


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