* 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.
This commit is contained in:
Yao Qi
2011-11-18 01:03:51 +00:00
parent bb8ed79b6a
commit 3ea46bff73
4 changed files with 27 additions and 11 deletions

View File

@ -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. */