diff options
author | Keith Seitz <keiths@redhat.com> | 2015-09-30 14:23:12 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2015-10-01 11:48:39 -0700 |
commit | 23916b7dc0f2f05982da7a76726d931cf738d2cc (patch) | |
tree | b08bad1994250bf0a7d849fe099fd6f5c2d7da80 /gdb/ada-lang.c | |
parent | 398e081380a204e3b9fb4eb4da069ccf471f930e (diff) | |
download | gdb-users/keiths/intelligent-breakpoint_re_set.zip gdb-users/keiths/intelligent-breakpoint_re_set.tar.gz gdb-users/keiths/intelligent-breakpoint_re_set.tar.bz2 |
Initial publication of breakpoint reset project.users/keiths/intelligent-breakpoint_re_set
This is a work-in-progress publication of an intelligent breakpoint_re_set
redesign. See the project wiki page for more information:
https://sourceware.org/gdb/wiki/BreakpointReset
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index a229fa1..fd712fe 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12248,11 +12248,13 @@ allocate_location_exception (enum ada_exception_catchpoint_kind ex, static void re_set_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *b) { + struct breakpoint_reset_reason reset_reason; struct ada_catchpoint *c = (struct ada_catchpoint *) b; /* Call the base class's method. This updates the catchpoint's locations. */ - bkpt_breakpoint_ops.re_set (b); + init_breakpoint_reset_reason (&reset_reason); + bkpt_breakpoint_ops.re_set (b, &reset_reason); /* Reparse the exception conditional expressions. One for each location. */ @@ -12522,7 +12524,8 @@ allocate_location_catch_exception (struct breakpoint *self) } static void -re_set_catch_exception (struct breakpoint *b) +re_set_catch_exception (struct breakpoint *b, + struct breakpoint_reset_reason *reason) { re_set_exception (ada_catch_exception, b); } @@ -12574,7 +12577,8 @@ allocate_location_catch_exception_unhandled (struct breakpoint *self) } static void -re_set_catch_exception_unhandled (struct breakpoint *b) +re_set_catch_exception_unhandled (struct breakpoint *b, + struct breakpoint_reset_reason *reason) { re_set_exception (ada_catch_exception_unhandled, b); } @@ -12628,7 +12632,8 @@ allocate_location_catch_assert (struct breakpoint *self) } static void -re_set_catch_assert (struct breakpoint *b) +re_set_catch_assert (struct breakpoint *b, + struct breakpoint_reset_reason *reason) { re_set_exception (ada_catch_assert, b); } |