* breakpoint.c (print_exception_catchpoint): Access `b' directly
authorPedro Alves <palves@redhat.com>
Wed, 29 Apr 2009 19:31:58 +0000 (19:31 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 29 Apr 2009 19:31:58 +0000 (19:31 +0000)
instead of `b->loc->owner'.
(print_mention_exception_catchpoint): Ditto.

gdb/ChangeLog
gdb/breakpoint.c

index b9b24d13798e4a1f66663ea77b479e518f2c100d..dca1530662c4ec9098f79ef2f935229beb7dbe51 100644 (file)
@@ -1,3 +1,9 @@
+2009-04-29  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (print_exception_catchpoint): Access `b' directly
+       instead of `b->loc->owner'.
+       (print_mention_exception_catchpoint): Ditto.
+
 2009-04-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * macrocmd.c (info_macro_command): Print -Dname=value if LINE is zero.
index 330a53a66b7cc87a1c8807ea97a0925fcc0df46d..c5b93a2a97c1e45ff7a2af445b60f9d156fb17d2 100644 (file)
@@ -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 "));
This page took 0.034059 seconds and 4 git commands to generate.