mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-13 13:49:00 +08:00
Don't write to inferior_ptid in go32-nat.c
generic_mourn_inferior already takes care of switching to no thread. gdb/ChangeLog: 2020-06-18 Pedro Alves <palves@redhat.com> * go32-nat.c (go32_nat_target::create_inferior): Don't write to inferior_ptid.
This commit is contained in:
parent
ebe84f23d2
commit
1a20473059
@ -1,3 +1,8 @@
|
||||
2020-06-18 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* go32-nat.c (go32_nat_target::create_inferior): Don't write to
|
||||
inferior_ptid.
|
||||
|
||||
2020-06-18 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* nto-procfs.c (nto_procfs_target::update_thread_list): Avoid
|
||||
|
@ -770,8 +770,6 @@ go32_nat_target::create_inferior (const char *exec_file,
|
||||
void
|
||||
go32_nat_target::mourn_inferior ()
|
||||
{
|
||||
ptid_t ptid;
|
||||
|
||||
redir_cmdline_delete (&child_cmd);
|
||||
resume_signal = -1;
|
||||
resume_is_step = 0;
|
||||
@ -787,8 +785,6 @@ go32_nat_target::mourn_inferior ()
|
||||
the OS cleans up when the debuggee exits. */
|
||||
x86_cleanup_dregs ();
|
||||
|
||||
ptid = inferior_ptid;
|
||||
inferior_ptid = null_ptid;
|
||||
prog_has_started = 0;
|
||||
|
||||
generic_mourn_inferior ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user