public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains
@ 2011-04-10 1:19 marc.khouzam at ericsson dot com
2011-04-11 1:27 ` [Bug mi/12661] " marc.khouzam at ericsson dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2011-04-10 1:19 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12661
Summary: *stopped,reason="exited" should specify to which
inferior it pertains
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: mi
AssignedTo: unassigned@sourceware.org
ReportedBy: marc.khouzam@ericsson.com
When I let an inferior run to completion with MI, I see the following:
=thread-group-exited,id="i1"
*stopped,reason="exited",exit-code="02"
It is nice that the *stopped event reports the exit-code, now that GDB handles
multi-exec. However, unless this *stopped event specifies the thread-group
that it affects, it is not useful for the frontend.
I suggest
*stopped,reason="exited",id="i1",exit-code="02"
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug mi/12661] *stopped,reason="exited" should specify to which inferior it pertains
2011-04-10 1:19 [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains marc.khouzam at ericsson dot com
@ 2011-04-11 1:27 ` marc.khouzam at ericsson dot com
2011-04-27 18:09 ` tromey at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2011-04-11 1:27 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12661
--- Comment #1 from Marc Khouzam <marc.khouzam at ericsson dot com> 2011-04-11 01:26:55 UTC ---
Thinking about it some more, it may be better to add the exit-code to the
=thread-group-exited event, like so:
=thread-group-exited,id="i1",exit-code="02"
Having it in a *stopped event won't be very nice for a frontend since we'll
have to somehow parse both events
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug mi/12661] *stopped,reason="exited" should specify to which inferior it pertains
2011-04-10 1:19 [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains marc.khouzam at ericsson dot com
2011-04-11 1:27 ` [Bug mi/12661] " marc.khouzam at ericsson dot com
@ 2011-04-27 18:09 ` tromey at redhat dot com
2011-06-03 16:21 ` tromey at redhat dot com
2011-06-05 0:52 ` marc.khouzam at ericsson dot com
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2011-04-27 18:09 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12661
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
AssignedTo|unassigned at sourceware |tromey at redhat dot com
|dot org |
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-04-27 18:08:57 UTC ---
Patch pending.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug mi/12661] *stopped,reason="exited" should specify to which inferior it pertains
2011-04-10 1:19 [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains marc.khouzam at ericsson dot com
2011-04-11 1:27 ` [Bug mi/12661] " marc.khouzam at ericsson dot com
2011-04-27 18:09 ` tromey at redhat dot com
@ 2011-06-03 16:21 ` tromey at redhat dot com
2011-06-05 0:52 ` marc.khouzam at ericsson dot com
3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2011-06-03 16:21 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12661
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.3
--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2011-06-03 16:19:32 UTC ---
Fix checked in.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug mi/12661] *stopped,reason="exited" should specify to which inferior it pertains
2011-04-10 1:19 [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains marc.khouzam at ericsson dot com
` (2 preceding siblings ...)
2011-06-03 16:21 ` tromey at redhat dot com
@ 2011-06-05 0:52 ` marc.khouzam at ericsson dot com
3 siblings, 0 replies; 5+ messages in thread
From: marc.khouzam at ericsson dot com @ 2011-06-05 0:52 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12661
--- Comment #4 from Marc Khouzam <marc.khouzam at ericsson dot com> 2011-06-05 00:51:49 UTC ---
Awesome, thanks!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-05 0:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-10 1:19 [Bug mi/12661] New: *stopped,reason="exited" should specify to which inferior it pertains marc.khouzam at ericsson dot com
2011-04-11 1:27 ` [Bug mi/12661] " marc.khouzam at ericsson dot com
2011-04-27 18:09 ` tromey at redhat dot com
2011-06-03 16:21 ` tromey at redhat dot com
2011-06-05 0:52 ` marc.khouzam at ericsson dot com
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).