diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-08-16 23:54:37 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-08-16 23:54:37 +0000 |
commit | 2dcc608618e09c68ed83560f2471a8b2ef52db79 (patch) | |
tree | 929740c7605c7fc3ab36312be401168665533244 /gdb/ChangeLog | |
parent | 58f594cdb752acbd9e5b910cd39f513bcd6ba800 (diff) | |
download | gdb-2dcc608618e09c68ed83560f2471a8b2ef52db79.zip gdb-2dcc608618e09c68ed83560f2471a8b2ef52db79.tar.gz gdb-2dcc608618e09c68ed83560f2471a8b2ef52db79.tar.bz2 |
inf_ttrace_follow_fork: detach_breakpoints called twice for child.
When debugging a program that forks with follow-fork set to follow
the parent, we end up calling detach_breakpoints for the child twice.
On ia64-hpux, this leads to a warning when trying to remove the
breakpoints the second time around, because the ia64 code detects
that the address does not point to a breakpoint instruction.
gdb/ChangeLog:
* inf-ttrace.c (inf_ttrace_follow_fork): When following the
parent, only call detach_breakpoints if tts.tts_event ==
TTEVT_VFORK.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c83d5d..f40d597 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2012-08-16 Joel Brobecker <brobecker@adacore.com> + * inf-ttrace.c (inf_ttrace_follow_fork): When following the + parent, only call detach_breakpoints if tts.tts_event == + TTEVT_VFORK. + +2012-08-16 Joel Brobecker <brobecker@adacore.com> + * dwarf2-frame.c (dwarf2_frame_cache): Use get_frame_address_in_block instead of get_frame_pc as the bound for executing the frame's FDE. |