public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/18622] New: Erroneous "running" event while in suspended state messing up Eclipse DSF
@ 2015-07-03 13:31 jens.elmenthaler at advantest dot com
  2022-05-25 17:49 ` [Bug mi/18622] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: jens.elmenthaler at advantest dot com @ 2015-07-03 13:31 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18622
           Summary: Erroneous "running" event while in suspended state
                    messing up Eclipse DSF
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: jens.elmenthaler at advantest dot com
  Target Milestone: ---

Created attachment 8409
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8409&action=edit
Patch to suppress event for all-stop mode

I'm debugging a multi-threaded software written in C++ using Eclipse DSF in
all-stop mode. The gdb version is "GNU gdb (GDB) Red Hat Enterprise Linux
7.6.1-51.1.el7".

>From time to time threads are spawned or exited and if gdb detects this while
being suspended, an event "*running,thread-id=all" is received. This makes
Eclipse DSF assume the inferior resumed, although the inferior is still
suspended.

I tracked it down to the function mi_on_resume() in mi-interp.c and developed a
simple patch, that seems to work fine for me at least.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-25 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03 13:31 [Bug mi/18622] New: Erroneous "running" event while in suspended state messing up Eclipse DSF jens.elmenthaler at advantest dot com
2022-05-25 17:49 ` [Bug mi/18622] " 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).