diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2015-07-29 20:03:43 -0400 |
---|---|---|
committer | Patrick Palka <patrick@parcs.ath.cx> | 2015-08-26 20:50:43 -0400 |
commit | e9756d52bea3834ffb31d0a907944bd022250ed8 (patch) | |
tree | 7d68daf8a6d0ca48037ce86fe59218d5d6afc619 /texinfo/texinfo.tex | |
parent | 60f02a58bf59d2cc355aa8ba56f8111477972d89 (diff) | |
download | gdb-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 'texinfo/texinfo.tex')
0 files changed, 0 insertions, 0 deletions