From: Elena Zannoni <ezannoni@redhat.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: ac131313@redhat.com, kettenis@chello.nl, msnyder@redhat.com,
cgd@broadcom.com, ezannoni@redhat.com,
gdb-patches@sources.redhat.com
Subject: Re: [rfa:threads] Report when using libthread_db
Date: Fri, 05 Sep 2003 15:42:00 -0000 [thread overview]
Message-ID: <16216.45262.348538.540587@localhost.redhat.com> (raw)
In-Reply-To: <200308230148.h7N1mrAB020524@duracef.shout.net>
Michael Elizabeth Chastain writes:
> 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.
Here is a patch which I added to the RH gdb, to deal with the
relocate.exp errors. Let me know if it works in your testbed.
I didn't notice the weird.exp one because we don't test with stabs.
elena
--- gdb+dejagnu-5.3.90_20030710/gdb/testsuite/gdb.base/relocate.exp.1 Fri Aug 15 11:20:44 2003
+++ gdb+dejagnu-5.3.90_20030710/gdb/testsuite/gdb.base/relocate.exp Fri Aug 15 11:23:31 2003
@@ -67,7 +67,7 @@ gdb_reinitialize_dir $srcdir/$subdir
# Load the object file.
gdb_test "add-symbol-file ${binfile} 0" \
- "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
+ "(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.)|(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\..*Using host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o 0" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x0\[\r\n\]+\\(y or n\\) " \
"y"
@@ -116,7 +116,7 @@ gdb_test "set \$offset = 0x10000" ""
# Load the object file.
gdb_test "add-symbol-file ${binfile} \$offset" \
- "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
+ "(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.)|(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\..*Using host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o \$offset" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x10000\[\r\n\]+\\(y or n\\) " \
"y"
next prev parent reply other threads:[~2003-09-05 15:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-23 1:49 Michael Elizabeth Chastain
2003-09-04 17:24 ` Andrew Cagney
2003-09-05 15:42 ` Elena Zannoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-08 3:05 Michael Elizabeth Chastain
2003-09-08 13:21 ` Andrew Cagney
2003-09-08 2:28 Michael Elizabeth Chastain
2003-09-08 3:01 ` Daniel Jacobowitz
2003-09-09 14:29 ` Elena Zannoni
2003-08-22 19:40 Michael Elizabeth Chastain
2003-08-08 15:51 Michael Elizabeth Chastain
2003-08-05 19:51 Michael Elizabeth Chastain
2003-08-05 20:10 ` Elena Zannoni
2003-08-05 19:26 Andrew Cagney
2003-08-07 19:57 ` Andrew Cagney
[not found] ` <mailpost.1060286286.1556@news-sj1-1>
2003-08-07 20:31 ` cgd
2003-08-08 14:51 ` Andrew Cagney
2003-08-21 22:10 ` Andrew Cagney
2003-08-21 22:47 ` Mark Kettenis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16216.45262.348538.540587@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=ac131313@redhat.com \
--cc=cgd@broadcom.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
--cc=mec@shout.net \
--cc=msnyder@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox