aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:44:17 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-05-30 18:44:17 +0000
commit078f2fc9c153e6efd1c88b0a34eccc1164f9ae2f (patch)
tree2b7bf7f6e0a59935042475c81dbb7d1640b7ba4e /gdb/ChangeLog
parent53dff92cb56fb21dc81c183aa35a5a3ae8c06e32 (diff)
downloadgdb-078f2fc9c153e6efd1c88b0a34eccc1164f9ae2f.zip
gdb-078f2fc9c153e6efd1c88b0a34eccc1164f9ae2f.tar.gz
gdb-078f2fc9c153e6efd1c88b0a34eccc1164f9ae2f.tar.bz2
hurd: fix pushing target on inferior creation
This fixes creating inferiors, which was broken since 5b6d1e4fa ('Multi-target support') gdb/ChangeLog: * gnu-nat.c (gnu_nat_target::create_inferior): Move push_target call before fork_inferior call. Avoid calling it if target_is_pushed returns true.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 67faed1..12321b5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ * gnu-nat.c (gnu_nat_target::create_inferior): Move push_target call
+ before fork_inferior call. Avoid calling it if target_is_pushed returns
+ true.
+
+2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
* gnu-nat.h (gnu_target): New variable declaration.
* i386-gnu-nat.c (_initialize_i386gnu_nat): Initialize
gnu_target.