diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:04:03 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:04:03 +0000 |
commit | 25f435004904ce1dce520d7dcc40eb9b623e244e (patch) | |
tree | 3fb8c77ea5c1215acfc79cc0b138a8f4e35ef4a0 /gdb/ChangeLog | |
parent | d6a2e54a5d26fe98bd8a44b03cbec133188435ed (diff) | |
download | gdb-25f435004904ce1dce520d7dcc40eb9b623e244e.zip gdb-25f435004904ce1dce520d7dcc40eb9b623e244e.tar.gz gdb-25f435004904ce1dce520d7dcc40eb9b623e244e.tar.bz2 |
cleanup fixes for inf-ptrace.c
This is one of the stylistic patches. The code here in inf-ptrace.c
is not incorrect, but it is in a style that the cleanup checker cannot
handle. This patch changes it to a simpler style, following the usual
method of introducing an unconditional "outer" cleanup.
* inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
call discard_cleanups.
(inf_ptrace_attach): Likewise.
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 ea1d341..c3303ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2013-05-30 Tom Tromey <tromey@redhat.com> + * inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally + call discard_cleanups. + (inf_ptrace_attach): Likewise. + +2013-05-30 Tom Tromey <tromey@redhat.com> + * remote-mips.c (mips_exit_debug): Call do_cleanups on all return paths. (mips_initialize): Likewise. |