public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31246] New: Reverse + remote + "maint set target-non-stop on" does not play well together
@ 2024-01-15 19:14 simark at simark dot ca
  0 siblings, 0 replies; only message in thread
From: simark at simark dot ca @ 2024-01-15 19:14 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31246
           Summary: Reverse + remote + "maint set target-non-stop on" does
                    not play well together
           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: ---

I was running the gdb.reverse tests with the native-extended-gdbserver board
with "maint set target-non-stop on" in GDBFLAGS by mistake (see [1]), which
caused some internal errors in pretty much all the reverse tests, such as:

    continue^M
    Continuing.^M
   
/home/jenkins/workspace/binutils-gdb_master_linuxbuild/platform/deb12-amd64/target_board/native-extended-gdbserver/src/binutils-gdb/gdb/remote.c:6922:
internal-error: resume: Assertion `scope_ptid == inferior_ptid' failed.^M
    A problem internal to GDB has been detected,^M
    further debugging may prove unreliable.^M
    ----- Backtrace -----^M
    FAIL: gdb.reverse/break-precsave.exp: run to end of main (GDB internal
error)

I fixed the problem that made a test leak "maint set target-non-stop on" in
subsequent tests, but hitting an internal error showed that GDB does not handle
well this combination of settings (reverse debugging, remote target,
target-non-stop on).  That should ideally be improved.

[1]
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=aae436c54a514d43ae66389f2ddbfed16ffdb725

-- 
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-01-15 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 19:14 [Bug gdb/31246] New: Reverse + remote + "maint set target-non-stop on" does not play well together simark at simark dot ca

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).