]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/breakpoint.c
* breakpoint.h (enum enable_state): Add bp_startup_disabled.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 31 Jul 2009 14:31:16 +0000 (14:31 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 31 Jul 2009 14:31:16 +0000 (14:31 +0000)
commit8bea4e01db202d301348221cff486a4fe78e86a1
tree3216998baf58a7ef6af662db999fd51d92a5365a
parent7a321525ff614c750174eb62b6204e6e7e29311d
* breakpoint.h (enum enable_state): Add bp_startup_disabled.
(disable_breakpoints_before_startup): Add prototype.
(enable_breakpoints_after_startup): Likewise.

* breakpoint.c (executing_startup): New static variable.
(describe_other_breakpoints): Handle bp_startup_disabled.
(check_duplicates_for): Likewise.
(disable_breakpoints_before_startup): New function.
(enable_breakpoints_after_startup): New function.
(create_breakpoint): Mark new breakpoints as bp_startup_disabled
if executing_startup flag is true.
(break_command_really): Likewise.
(breakpoint_re_set_one): Skip bp_startup_disabled breakpoints.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h