* valops.c (find_overload_match): Call do_cleanups before early
authorTom Tromey <tromey@redhat.com>
Mon, 27 Jun 2011 19:21:51 +0000 (19:21 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 27 Jun 2011 19:21:51 +0000 (19:21 +0000)
commit5fe41fbfa22275d2a277b408bf52fedec34e8336
tree9aed1be88020a4add3cfcbe7562642ad3236d91a
parent57eb9b5086fe082ad965e75d199dd9d536e54250
* valops.c (find_overload_match): Call do_cleanups before early
return.
* top.c (execute_command): Call do_cleanups before early return.
(command_loop): Likewise.
* stack.c (backtrace_command): Make a null cleanup early.  Don't
conditionally call do_cleanups.
* python/py-value.c (TRY_CATCH): Move cleanup handling into
TRY_CATCH.
* python/py-breakpoint.c (gdbpy_breakpoint_has_py_cond): Rearrange
so cleanups are always run.
* mi/mi-cmd-var.c (mi_cmd_var_delete): Reset old_cleanups.
* findcmd.c (parse_find_args): Call do_cleanups on early return
path.
* dbxread.c (elfstab_build_psymtabs): Make a null cleanup early.
Don't conditionally call do_cleanups.
* cli/cli-script.c (execute_user_command): Initialize 'old_chain'
later.
gdb/ChangeLog
gdb/cli/cli-script.c
gdb/dbxread.c
gdb/findcmd.c
gdb/mi/mi-cmd-var.c
gdb/python/py-breakpoint.c
gdb/python/py-value.c
gdb/stack.c
gdb/top.c
gdb/valops.c