public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/26006] New: rereading symbols fails
@ 2020-05-18 3:22 andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:35 ` [Bug sim/26006] " andy-sourceware-bugzilla@ultra-premium.com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: andy-sourceware-bugzilla@ultra-premium.com @ 2020-05-18 3:22 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26006
Bug ID: 26006
Summary: rereading symbols fails
Product: gdb
Version: 9.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: andy-sourceware-bugzilla@ultra-premium.com
Target Milestone: ---
Created attachment 12552
--> https://sourceware.org/bugzilla/attachment.cgi?id=12552&action=edit
gdb script which demonstrates the bug
I am running v9.1 on amd64 (I compiled it from source in ubuntu
20.20 using the packaged gcc v9.3.0).
This gdb script (also attached) demonstrates the problem:
shell echo "int main(void) { return 0;}" > test.c
shell gcc -g test.c
file a.out
run
shell sleep 1
shell touch a.out
run
quit
When I run this I get:
$ ./gdb -q -x gdb-bug.gdb
[Inferior 1 (process 257896) exited normally]
`/home/andy/gdb-test/bin/a.out' has changed; re-reading symbols.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
[Inferior 1 (process 257902) exited normally]
If I change the "shell sleep 1" to "shell sleep 0" then it works as expected:
$ ./gdb -q -x ~/gdb-bug-sleep0.gdb
[Inferior 1 (process 257948) exited normally]
[Inferior 1 (process 257954) exited normally]
In the context of a non-trivial program, whenever I see the "warning:
Probes-based dynamic linker interface failed." message, this tends to mean
that my stack traces will be broken (filled with ???).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug sim/26006] rereading symbols fails
2020-05-18 3:22 [Bug symtab/26006] New: rereading symbols fails andy-sourceware-bugzilla@ultra-premium.com
@ 2020-05-20 2:35 ` andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:37 ` [Bug gdb/26006] " simark at simark dot ca
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: andy-sourceware-bugzilla@ultra-premium.com @ 2020-05-20 2:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26006
Andy Owen <andy-sourceware-bugzilla@ultra-premium.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|symtab |sim
CC| |vapier at gentoo dot org
--- Comment #2 from Andy Owen <andy-sourceware-bugzilla@ultra-premium.com> ---
Yes, this fixes the issue at my end.
I will keep on using this version of gdb as my daily driver and let you know if
I see anything bad.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/26006] rereading symbols fails
2020-05-18 3:22 [Bug symtab/26006] New: rereading symbols fails andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:35 ` [Bug sim/26006] " andy-sourceware-bugzilla@ultra-premium.com
@ 2020-05-20 2:37 ` simark at simark dot ca
2020-05-20 2:38 ` simark at simark dot ca
2020-08-09 20:46 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: simark at simark dot ca @ 2020-05-20 2:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26006
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|sim |gdb
Version|9.1 |HEAD
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/26006] rereading symbols fails
2020-05-18 3:22 [Bug symtab/26006] New: rereading symbols fails andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:35 ` [Bug sim/26006] " andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:37 ` [Bug gdb/26006] " simark at simark dot ca
@ 2020-05-20 2:38 ` simark at simark dot ca
2020-08-09 20:46 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: simark at simark dot ca @ 2020-05-20 2:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26006
--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
Thanks for testing!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/26006] rereading symbols fails
2020-05-18 3:22 [Bug symtab/26006] New: rereading symbols fails andy-sourceware-bugzilla@ultra-premium.com
` (2 preceding siblings ...)
2020-05-20 2:38 ` simark at simark dot ca
@ 2020-08-09 20:46 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2020-08-09 20:46 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26006
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.1
Status|NEW |RESOLVED
CC| |tromey at sourceware dot org
Resolution|--- |FIXED
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
This patch went in, so I'm closing this.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-09 20:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18 3:22 [Bug symtab/26006] New: rereading symbols fails andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:35 ` [Bug sim/26006] " andy-sourceware-bugzilla@ultra-premium.com
2020-05-20 2:37 ` [Bug gdb/26006] " simark at simark dot ca
2020-05-20 2:38 ` simark at simark dot ca
2020-08-09 20:46 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).