public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/31780] New: [gdb/testsuite] object files overwritten in gdb.base/ctxobj.exp
@ 2024-05-21 15:14 vries at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2024-05-21 15:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31780
Bug ID: 31780
Summary: [gdb/testsuite] object files overwritten in
gdb.base/ctxobj.exp
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
I ran test-case gdb.base/ctxobj.exp with the fission target board, and ran into
trouble.
The problem is that there are two shared libraries, build from the same
sources, but with different defines.
The compilation of the second shared library overwrites the object files of the
first library.
AFAIK, this is considered bad testsuite style, because we want to be able to
find back all artifacts after running a test-case, but it doesn't affect the
running of the test-case.
However, in the fission case this also overwrites the .dwo files of the first
shared library, effectively throwing away the debug info of the first shared
library, which does cause trouble.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-21 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-21 15:14 [Bug testsuite/31780] New: [gdb/testsuite] object files overwritten in gdb.base/ctxobj.exp 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).