public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/31090] New: "mi" equivalent of "(gdb) kill"
@ 2023-11-28 0:03 epasveer at att dot net
2023-11-28 1:19 ` [Bug mi/31090] " tromey at sourceware dot org
2023-11-28 15:27 ` epasveer at att dot net
0 siblings, 2 replies; 3+ messages in thread
From: epasveer at att dot net @ 2023-11-28 0:03 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31090
Bug ID: 31090
Summary: "mi" equivalent of "(gdb) kill"
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: epasveer at att dot net
Target Milestone: ---
Is there an equivalent to the "kill" command?
Something like?
-exec-kill
I'd like to kill the running program, reap the child process, but leave the
executable's symbol information still loaded in gdb.
The "kill" command seems to do all this but I can't see a "mi" equivalent.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug mi/31090] "mi" equivalent of "(gdb) kill"
2023-11-28 0:03 [Bug mi/31090] New: "mi" equivalent of "(gdb) kill" epasveer at att dot net
@ 2023-11-28 1:19 ` tromey at sourceware dot org
2023-11-28 15:27 ` epasveer at att dot net
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-11-28 1:19 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31090
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I don't think there is one.
One could be added (though for best results you'd have to do it).
Using the CLI "kill" command seems fine, though, as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug mi/31090] "mi" equivalent of "(gdb) kill"
2023-11-28 0:03 [Bug mi/31090] New: "mi" equivalent of "(gdb) kill" epasveer at att dot net
2023-11-28 1:19 ` [Bug mi/31090] " tromey at sourceware dot org
@ 2023-11-28 15:27 ` epasveer at att dot net
1 sibling, 0 replies; 3+ messages in thread
From: epasveer at att dot net @ 2023-11-28 15:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31090
--- Comment #2 from Ernie Pasveer <epasveer at att dot net> ---
Yes, the CLI "kill" command does work. However, it's not "mi" friendly for
frontend use. eg: there's no "^done" message afterwards.
I'll attempt to implement it and submit a patch, as per the documents.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-28 15:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 0:03 [Bug mi/31090] New: "mi" equivalent of "(gdb) kill" epasveer at att dot net
2023-11-28 1:19 ` [Bug mi/31090] " tromey at sourceware dot org
2023-11-28 15:27 ` epasveer at att dot net
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).