diff options
author | qiyao <qiyao> | 2011-11-18 01:03:50 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2011-11-18 01:03:50 +0000 |
commit | 6127c39dcb875763623ac31cd0d25209b9677874 (patch) | |
tree | 30ac3731bb67c98aa62fd332ea80f3597c46a6a1 /gdb/breakpoint.h | |
parent | 717f035df5a8e24110ed680888f8601612b82ddc (diff) | |
download | gdb-6127c39dcb875763623ac31cd0d25209b9677874.tar.gz |
* 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/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 506ae807217..8e03264c389 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1098,9 +1098,11 @@ extern void /* Add breakpoint B on the breakpoint list, and notify the user, the target and breakpoint_created observers of its existence. If INTERNAL is non-zero, the breakpoint number will be allocated from - the internal breakpoint count. */ + the internal breakpoint count. If UPDATE_GLL is non-zero, + update_global_location_list will be called. */ -extern void install_breakpoint (int internal, struct breakpoint *b); +extern void install_breakpoint (int internal, struct breakpoint *b, + int update_gll); extern int create_breakpoint (struct gdbarch *gdbarch, char *arg, char *cond_string, int thread, |