mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-04 08:08:01 +00:00
* remote.c (remote_stop_ns): If multi-process extensions are off,
and GDB is requesting the whole process to stop, sent "vCont;t", not "vCont;t:-1"
This commit is contained in:
parent
7b0e805131
commit
f91d3df5c6
@ -1,3 +1,9 @@
|
||||
2009-03-28 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* remote.c (remote_stop_ns): If multi-process extensions are off,
|
||||
and GDB is requesting the whole process to stop, sent "vCont;t",
|
||||
not "vCont;t:-1"
|
||||
|
||||
2009-03-28 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* inf-loop.c (inferior_event_handler): Avoid calling is_running on
|
||||
|
@ -3945,13 +3945,13 @@ remote_stop_ns (ptid_t ptid)
|
||||
if (!rs->support_vCont_t)
|
||||
error (_("Remote server does not support stopping threads"));
|
||||
|
||||
if (ptid_equal (ptid, minus_one_ptid))
|
||||
if (ptid_equal (ptid, minus_one_ptid)
|
||||
|| (!remote_multi_process_p (rs) && ptid_is_pid (ptid)))
|
||||
p += xsnprintf (p, endp - p, "vCont;t");
|
||||
else
|
||||
{
|
||||
ptid_t nptid;
|
||||
|
||||
/* Step inferior_ptid. */
|
||||
p += xsnprintf (p, endp - p, "vCont;t:");
|
||||
|
||||
if (ptid_is_pid (ptid))
|
||||
|
Loading…
x
Reference in New Issue
Block a user