From 3ea46bff735f66cca658e990155816c57cc194d3 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 18 Nov 2011 01:03:51 +0000 Subject: * breakpoint.c (install_breakpoint): Add one more parameter so that update_global_location_list is called conditionally. (create_fork_vfork_event_catchpoint): Update. (create_syscall_event_catchpoint): Update. (create_breakpoint_sal): Update. (create_breakpoint_sal): Update. Call do_cleanups before install_breakpoint. * ada-lang.c (create_ada_exception_catchpoint): Update. * breakpoint.h (install_breakpoint): Update declaration. --- gdb/ada-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 1dabd0f..2edbe7f 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -11705,7 +11705,7 @@ create_ada_exception_catchpoint (struct gdbarch *gdbarch, ops, tempflag, from_tty); c->excep_string = excep_string; create_excep_cond_exprs (c); - install_breakpoint (0, &c->base); + install_breakpoint (0, &c->base, 1); } /* Implement the "catch exception" command. */ -- cgit v1.1