public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure
@ 2024-01-24 16:17 simark at simark dot ca
2024-01-24 16:18 ` [Bug gdb/31290] " simark at simark dot ca
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: simark at simark dot ca @ 2024-01-24 16:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
Bug ID: 31290
Summary: gdb.base/list-nodebug.exp failure
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: simark at simark dot ca
Target Milestone: ---
On Debian 12, I see:
(gdb) run
Starting program:
/home/smarchi/build/binutils-gdb/gdb/testsuite/outputs/gdb.base/list-nodebug/list-nodebug
warning: amd-dbgapi: unable to enable GPU debugging due to a restriction error
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, 0x000055555555512d in main ()
(gdb) list .
No symbol table is loaded. Use the "file" command.
(gdb) FAIL: gdb.base/list-nodebug.exp: first 'list .'
list .
No symbol table is loaded. Use the "file" command.
(gdb) FAIL: gdb.base/list-nodebug.exp: second 'list .'
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug gdb/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
@ 2024-01-24 16:18 ` simark at simark dot ca
2024-03-16 23:06 ` vries at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: simark at simark dot ca @ 2024-01-24 16:18 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |blarsen at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug gdb/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
2024-01-24 16:18 ` [Bug gdb/31290] " simark at simark dot ca
@ 2024-03-16 23:06 ` vries at gcc dot gnu.org
2024-03-17 9:17 ` vries at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-16 23:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
My guess is that this can be fixed by using two source files, one with debug
info and one without.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug gdb/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
2024-01-24 16:18 ` [Bug gdb/31290] " simark at simark dot ca
2024-03-16 23:06 ` vries at gcc dot gnu.org
@ 2024-03-17 9:17 ` vries at gcc dot gnu.org
2024-03-17 9:17 ` [Bug testsuite/31290] " vries at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-17 9:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 15410
--> https://sourceware.org/bugzilla/attachment.cgi?id=15410&action=edit
tentative patch
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
` (2 preceding siblings ...)
2024-03-17 9:17 ` vries at gcc dot gnu.org
@ 2024-03-17 9:17 ` vries at gcc dot gnu.org
2024-03-17 9:32 ` vries at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-17 9:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|gdb |testsuite
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
` (3 preceding siblings ...)
2024-03-17 9:17 ` [Bug testsuite/31290] " vries at gcc dot gnu.org
@ 2024-03-17 9:32 ` vries at gcc dot gnu.org
2024-03-17 15:47 ` cvs-commit at gcc dot gnu.org
2024-03-17 15:48 ` vries at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-17 9:32 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/pipermail/gdb-patches/2024-March/207312.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
` (4 preceding siblings ...)
2024-03-17 9:32 ` vries at gcc dot gnu.org
@ 2024-03-17 15:47 ` cvs-commit at gcc dot gnu.org
2024-03-17 15:48 ` vries at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-17 15:47 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=42db3e48c5532a6a4aa3952e0a3d02f3dfac6f0a
commit 42db3e48c5532a6a4aa3952e0a3d02f3dfac6f0a
Author: Tom de Vries <tdevries@suse.de>
Date: Sun Mar 17 16:48:43 2024 +0100
[gdb/testsuite] Fix gdb.base/list-no-debug.exp on debian
On debian 12, aarch64-linux I run into:
...
(gdb) list .^M
No symbol table is loaded. Use the "file" command.^M
(gdb) FAIL: gdb.base/list-nodebug.exp: first 'list .'
...
The test-case expects some debug info, but none for main. Instead, there's
no
debug info at all.
Fix this by adding another source file to the test-case, and compiling it
with
debug info.
Tested on aarch64-linux.
Approved-By: Andrew Burgess <aburgess@redhat.com>
PR testsuite/31290
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31290
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/31290] gdb.base/list-nodebug.exp failure
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
` (5 preceding siblings ...)
2024-03-17 15:47 ` cvs-commit at gcc dot gnu.org
@ 2024-03-17 15:48 ` vries at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-17 15:48 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31290
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Target Milestone|--- |15.1
Resolution|--- |FIXED
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-03-17 15:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 16:17 [Bug gdb/31290] New: gdb.base/list-nodebug.exp failure simark at simark dot ca
2024-01-24 16:18 ` [Bug gdb/31290] " simark at simark dot ca
2024-03-16 23:06 ` vries at gcc dot gnu.org
2024-03-17 9:17 ` vries at gcc dot gnu.org
2024-03-17 9:17 ` [Bug testsuite/31290] " vries at gcc dot gnu.org
2024-03-17 9:32 ` vries at gcc dot gnu.org
2024-03-17 15:47 ` cvs-commit at gcc dot gnu.org
2024-03-17 15:48 ` vries at gcc dot gnu.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).