gdb/
authorYao Qi <yao@codesourcery.com>
Sat, 1 Dec 2012 02:16:28 +0000 (02:16 +0000)
committerYao Qi <yao@codesourcery.com>
Sat, 1 Dec 2012 02:16:28 +0000 (02:16 +0000)
2012-11-30  Yao Qi  <yao@codesourcery.com>

* breakpoint.c (print_one_breakpoint_location): Indent code.

gdb/ChangeLog
gdb/breakpoint.c

index a5fcbfb962cea68027ba0e5dde006a9a08af3574..72423fbc3a1de1772c85deb20326beb16db89344 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-30  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (print_one_breakpoint_location): Indent code.
+
 2012-11-30  Yao Qi  <yao@codesourcery.com>
 
        * breakpoint.c (print_one_breakpoint_location): Combine two
index b1bb8ed2191663e56d250af406211bf148023590..59b7bf3276626e047fc113d8a20376c1cb5e8af8 100644 (file)
@@ -6029,26 +6029,26 @@ print_one_breakpoint_location (struct breakpoint *b,
   if (!part_of_multiple)
     {
       if (b->hit_count)
-    {
-      /* FIXME should make an annotation for this.  */
-      if (is_catchpoint (b))
-       ui_out_text (uiout, "\tcatchpoint");
-      else if (is_tracepoint (b))
-       ui_out_text (uiout, "\ttracepoint");
-      else
-       ui_out_text (uiout, "\tbreakpoint");
-      ui_out_text (uiout, " already hit ");
-      ui_out_field_int (uiout, "times", b->hit_count);
-      if (b->hit_count == 1)
-       ui_out_text (uiout, " time\n");
-      else
-       ui_out_text (uiout, " times\n");
-    }
+       {
+         /* FIXME should make an annotation for this.  */
+         if (is_catchpoint (b))
+           ui_out_text (uiout, "\tcatchpoint");
+         else if (is_tracepoint (b))
+           ui_out_text (uiout, "\ttracepoint");
+         else
+           ui_out_text (uiout, "\tbreakpoint");
+         ui_out_text (uiout, " already hit ");
+         ui_out_field_int (uiout, "times", b->hit_count);
+         if (b->hit_count == 1)
+           ui_out_text (uiout, " time\n");
+         else
+           ui_out_text (uiout, " times\n");
+       }
       else
        {
-  /* Output the count also if it is zero, but only if this is mi.  */
-  if (ui_out_is_mi_like_p (uiout))
-      ui_out_field_int (uiout, "times", b->hit_count);
+         /* Output the count also if it is zero, but only if this is mi.  */
+         if (ui_out_is_mi_like_p (uiout))
+           ui_out_field_int (uiout, "times", b->hit_count);
        }
     }
 
This page took 0.03596 seconds and 4 git commands to generate.