diff options
author | Pedro Alves <palves@redhat.com> | 2020-06-18 21:28:32 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-06-18 23:15:16 +0100 |
commit | 6d350754a32007465f9adbc11b87339e4493b358 (patch) | |
tree | 99523a020759f5c4b566f4dafa7438f528baaa8f /gdb/ChangeLog | |
parent | 5d971d48b922afc1cfe3ba1798477473cfbd052e (diff) | |
download | gdb-6d350754a32007465f9adbc11b87339e4493b358.zip gdb-6d350754a32007465f9adbc11b87339e4493b358.tar.gz gdb-6d350754a32007465f9adbc11b87339e4493b358.tar.bz2 |
Don't write to inferior_ptid in fork-child.c
This is no longer necessary. All targets that call fork_inferior now
also call switch_to_thread as soon as they add the main thread.
gdb/ChangeLog:
2020-06-18 Pedro Alves <palves@redhat.com>
* fork-child.c (postfork_hook): Don't write to inferior_ptid.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 606ac65..dc15d2d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2020-06-18 Pedro Alves <palves@redhat.com> + * fork-child.c (postfork_hook): Don't write to inferior_ptid. + +2020-06-18 Pedro Alves <palves@redhat.com> + * bsd-kvm.c (bsd_kvm_target_open): Switch to thread after adding it, instead of writing to inferior_ptid. |