OSDN Git Service

PR breakpoints/9350:
authorTom Tromey <tromey@redhat.com>
Thu, 8 Jan 2009 16:32:24 +0000 (16:32 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 8 Jan 2009 16:32:24 +0000 (16:32 +0000)
commit7002b113b9e2afed981d3eb9d4157c98a3a3c447
treea682757bb816c210b36d40a9d5ffb929802e65d0
parent8ee6a98bd6643233f00f0c91693ea6a571d54182
PR breakpoints/9350:
* varobj.c (varobj_invalidate): Unconditionally free
all_rootvarobj.
* symfile.c (syms_from_objfile): Free local_addr when returning
normally.
* exec.c (exec_file_attach): Do cleanups before returning.
(exec_file_command): Likewise.
* corefile.c (reopen_exec_file): Do cleanups before returning.
* breakpoint.c (insert_breakpoint_locations): Do cleanups before
returning.
(do_vec_free): New function.
(update_global_location_list): Make a cleanup for old_locations.
Do cleanups before returning.  Remove unused variable 'e'.
(find_condition_and_thread): Free result of parsing the
expression.
(print_it_typical): Do cleanups before returning.
(breakpoint_re_set_one): Always free sals.sals.
gdb/ChangeLog
gdb/breakpoint.c
gdb/corefile.c
gdb/exec.c
gdb/symfile.c
gdb/varobj.c