aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-11-18 01:03:51 +0000
committerYao Qi <yao@codesourcery.com>2011-11-18 01:03:51 +0000
commit3ea46bff735f66cca658e990155816c57cc194d3 (patch)
treefd2976168bf05f747722a9b1b8d14bb60748419c /gdb/ada-lang.c
parentbb8ed79b6a68eef87b3d3587f8fd07775cb7f084 (diff)
downloadgdb-3ea46bff735f66cca658e990155816c57cc194d3.zip
gdb-3ea46bff735f66cca658e990155816c57cc194d3.tar.gz
gdb-3ea46bff735f66cca658e990155816c57cc194d3.tar.bz2
* 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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
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. */