diff options
author | Yao Qi <yao@codesourcery.com> | 2011-11-18 01:03:51 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-11-18 01:03:51 +0000 |
commit | 3ea46bff735f66cca658e990155816c57cc194d3 (patch) | |
tree | fd2976168bf05f747722a9b1b8d14bb60748419c /gdb/breakpoint.h | |
parent | bb8ed79b6a68eef87b3d3587f8fd07775cb7f084 (diff) | |
download | gdb-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/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 506ae80..8e03264 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, |