From: Elena Zannoni <ezannoni@redhat.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: ezannoni@redhat.com, keiths@redhat.com, gdb@sources.redhat.com
Subject: Re: gdb.mi/mi-pthreads.exp query
Date: Mon, 06 Jan 2003 17:32:00 -0000 [thread overview]
Message-ID: <15897.48813.794142.526324@localhost.redhat.com> (raw)
In-Reply-To: <200301021740.h02HerU28515@duracef.shout.net>
Michael Elizabeth Chastain writes:
> Sure, here is the whole sections for mi-pthreads.exp from one gdb.log.
>
> Hmmm, I see this:
>
> -thread-select 7
> ^done,new-thread-id="7",frame={level="0",addr="0x42028d69",func="sigsuspend",args=[],from="/lib/i686/libc.so.6"}
> (gdb)
> FAIL: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 7
>
> The test script wants to see:
>
> frame={.*},line=\"(-)?\[0-9\]+\",file=\".*\""
>
> It looks like a test script problem rather than a gdb problem.
>
> I'm using the vendor libc (without symbols). Maybe you have a libc with
> symbols? Or maybe the frames are never in libc on your system.
>
Yes, seems that way:
I get:
-thread-select 7
^done,new-thread-id="7",frame={level="0",addr="0x4008abb5",func="__sigsuspend",args=[{name="set",value="0x42997abc"}],file="../sysdeps/unix/sysv/linux/sigsuspend.c",line="45"},line="45",file="../sysdeps/unix/sysv/linux/sigsuspend.c"
(gdb)
PASS: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 7
-thread-select 6
^done,new-thread-id="6",frame={level="0",addr="0x401175e1",func="__libc_nanosleep",args=[],file="__libc_nanosleep",line="-1"},line="-1",file="__libc_nanosleep"
(gdb)
PASS: gdb.mi/mi-pthreads.exp: check_mi_thread_command_set: -thread-select 6
-thread-select 2
^done,new-thread-id="2",frame={level="0",addr="0x4008ab11",func="__kill",args=[],file="__kill",line="-1"},line="-1",file="__kill"
(gdb)
Elena
next prev parent reply other threads:[~2003-01-06 17:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-02 17:41 Michael Elizabeth Chastain
2003-01-06 17:32 ` Elena Zannoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-02 3:47 Michael Elizabeth Chastain
2003-01-02 17:07 ` Elena Zannoni
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=15897.48813.794142.526324@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=keiths@redhat.com \
--cc=mec@shout.net \
/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