public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/31656] New: [gdb/testsuite] Check gdb_spawn result
@ 2024-04-19 14:06 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2024-04-19 14:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31656

            Bug ID: 31656
           Summary: [gdb/testsuite] Check gdb_spawn result
           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 noticed ( https://sourceware.org/pipermail/gdb-patches/2024-April/208304.html
) that gdb_spawn is used without checking the result in test-case
gdb.base/sigwinch-notty.exp.

I tried to find some more instances, and got:
...
$ find gdb/testsuite/ -type f | egrep -v ChangeLog | xargs egrep '^[
\t]*gdb_spawn.*[ \t]*$' 
gdb/testsuite/gdb.base/early-init-file.exp:    gdb_spawn
gdb/testsuite/gdb.base/early-init-file.exp:    gdb_spawn
gdb/testsuite/gdb.base/early-init-file.exp:    gdb_spawn
gdb/testsuite/gdb.base/warning.exp:gdb_spawn_with_cmdline_opts \
gdb/testsuite/gdb.base/sigwinch-notty.exp:    gdb_spawn
gdb/testsuite/gdb.base/attach.exp:    gdb_spawn_attach_cmdline $testpid
gdb/testsuite/gdb.base/libsegfault.exp:    gdb_spawn_with_ld_preload
$libsegfault ""
gdb/testsuite/gdb.base/libsegfault.exp:    gdb_spawn_with_ld_preload
$libsegfault "-q"
gdb/testsuite/gdb.base/readnever.exp:    gdb_spawn
...

-- 
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-04-19 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 14:06 [Bug testsuite/31656] New: [gdb/testsuite] Check gdb_spawn result 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).