aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2015-07-29 20:03:43 -0400
committerPatrick Palka <patrick@parcs.ath.cx>2015-08-26 20:50:43 -0400
commite9756d52bea3834ffb31d0a907944bd022250ed8 (patch)
tree7d68daf8a6d0ca48037ce86fe59218d5d6afc619 /gdb/ChangeLog
parent60f02a58bf59d2cc355aa8ba56f8111477972d89 (diff)
downloadgdb-e9756d52bea3834ffb31d0a907944bd022250ed8.zip
gdb-e9756d52bea3834ffb31d0a907944bd022250ed8.tar.gz
gdb-e9756d52bea3834ffb31d0a907944bd022250ed8.tar.bz2
Unset attach_flag when running a new process
We currently set attach_flag when attaching to a process, so we should make sure to unset it when forking a new process. Otherwise attach_flag would remain set after forking, if the previous process associated with the inferior was attached to. gdb/ChangeLog: * target.c (target_pre_inferior): Unset attach_flag. gdb/testsuite/ChangeLog: * gdb.base/run-after-attach.exp: New test file. * gdb.base/run-after-attach.c: New test file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 25402c8..205b1b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
+
+ * target.c (target_pre_inferior): Unset attach_flag.
+
2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
* gdbarch.sh (append_name): Fix type in XRESIZEVEC.