aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-04-29 19:31:58 +0000
committerPedro Alves <palves@redhat.com>2009-04-29 19:31:58 +0000
commitdf2b6d2de969a06b148ff391f47f0e6da0de1da1 (patch)
tree75af144690aa94dc020e800c6c73af17ea5689b7 /gdb/breakpoint.c
parent267e27229efe6d0edd002c87fc02598588503948 (diff)
downloadgdb-df2b6d2de969a06b148ff391f47f0e6da0de1da1.zip
gdb-df2b6d2de969a06b148ff391f47f0e6da0de1da1.tar.gz
gdb-df2b6d2de969a06b148ff391f47f0e6da0de1da1.tar.bz2
* breakpoint.c (print_exception_catchpoint): Access `b' directly
instead of `b->loc->owner'. (print_mention_exception_catchpoint): Ditto.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 330a53a..c5b93a2 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -6631,7 +6631,7 @@ print_exception_catchpoint (struct breakpoint *b)
breakpoint_adjustment_warning (b->loc->requested_address,
b->loc->address,
b->number, 1);
- bp_temp = b->loc->owner->disposition == disp_del;
+ bp_temp = b->disposition == disp_del;
ui_out_text (uiout,
bp_temp ? "Temporary catchpoint "
: "Catchpoint ");
@@ -6678,7 +6678,7 @@ print_mention_exception_catchpoint (struct breakpoint *b)
int bp_temp;
int bp_throw;
- bp_temp = b->loc->owner->disposition == disp_del;
+ bp_temp = b->disposition == disp_del;
bp_throw = strstr (b->addr_string, "throw") != NULL;
ui_out_text (uiout, bp_temp ? _("Temporary catchpoint ")
: _("Catchpoint "));