* breakpoint.h (set_longjmp_breakpoint): Add THREAD argument.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 24 Jun 2009 16:41:30 +0000 (16:41 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 24 Jun 2009 16:41:30 +0000 (16:41 +0000)
commit0fd8e87fea23317d3db05d5d4ec5c97a5250bb21
tree5bfc82c90425b4aa9c47f4700ba5a3daeb9c0ac3
parent0f54c268db73bed9aa42b3cd4e50af2a26f1e0c4
* breakpoint.h (set_longjmp_breakpoint): Add THREAD argument.
(enum bptype): Add bp_longjmp_master.

* breakpoint.c (create_longjmp_master_breakpoint): New function.
(update_breakpoints_after_exec): Handle bp_longjmp_master
breakpoints.  Call create_longjmp_master_breakpoint.
(print_it_typical, bpstat_stop_status, bpstat_what,
print_one_breakpoint_location, allocate_bp_location, mention,
delete_command, breakpoint_re_set_one): Handle bp_longjmp_master.
(breakpoint_re_set): Call create_longjmp_master_breakpoint.
(create_longjmp_breakpoint): Delete.
(set_longjmp_breakpoint): Add THREAD argument.  Reimplement
to install momentary clones of bp_longjmp_master breakpoints.

* infcmd.c (step_1): Pass thread to set_longjmp_breakpoint.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infcmd.c