gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 20 Jun 2013 06:49:06 +0000 (06:49 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 20 Jun 2013 06:49:06 +0000 (06:49 +0000)
* breakpoint.c (create_breakpoint): Fix code indentation.

gdb/ChangeLog
gdb/breakpoint.c

index fb27f4c0621a8ef67c897faff985c0ab5f38ee30..08103694713c9948e4d014128a3998157389c69f 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-20  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (create_breakpoint): Fix code indentation.
+
 2013-06-20  Yao Qi  <yao@codesourcery.com>
 
        * breakpoint.c (create_breakpoints_sal_default): Remove
index b86484a92937e7e63d77ef5c18fa6bec71101737..0ff5a4e6ec09194b0f330fd849f983ddd17484e8 100644 (file)
@@ -9625,38 +9625,38 @@ create_breakpoint (struct gdbarch *gdbarch,
 
       if (parse_arg)
         {
-           char *rest;
-            /* Here we only parse 'arg' to separate condition
-               from thread number, so parsing in context of first
-               sal is OK.  When setting the breakpoint we'll 
-               re-parse it in context of each sal.  */
-
-            find_condition_and_thread (arg, lsal->sals.sals[0].pc, &cond_string,
-                                       &thread, &task, &rest);
-            if (cond_string)
-                make_cleanup (xfree, cond_string);
-           if (rest)
-             make_cleanup (xfree, rest);
-           if (rest)
-             extra_string = rest;
+         char *rest;
+         /* Here we only parse 'arg' to separate condition
+            from thread number, so parsing in context of first
+            sal is OK.  When setting the breakpoint we'll
+            re-parse it in context of each sal.  */
+
+         find_condition_and_thread (arg, lsal->sals.sals[0].pc, &cond_string,
+                                    &thread, &task, &rest);
+         if (cond_string)
+           make_cleanup (xfree, cond_string);
+         if (rest)
+           make_cleanup (xfree, rest);
+         if (rest)
+           extra_string = rest;
         }
       else
         {
-           if (*arg != '\0')
-             error (_("Garbage '%s' at end of location"), arg);
-
-            /* Create a private copy of condition string.  */
-            if (cond_string)
-            {
-                cond_string = xstrdup (cond_string);
-                make_cleanup (xfree, cond_string);
-            }
-            /* Create a private copy of any extra string.  */
-            if (extra_string)
-             {
-                extra_string = xstrdup (extra_string);
-                make_cleanup (xfree, extra_string);
-             }
+         if (*arg != '\0')
+           error (_("Garbage '%s' at end of location"), arg);
+
+         /* Create a private copy of condition string.  */
+         if (cond_string)
+           {
+             cond_string = xstrdup (cond_string);
+             make_cleanup (xfree, cond_string);
+           }
+         /* Create a private copy of any extra string.  */
+         if (extra_string)
+           {
+             extra_string = xstrdup (extra_string);
+             make_cleanup (xfree, extra_string);
+           }
         }
 
       ops->create_breakpoints_sal (gdbarch, &canonical, lsal,
This page took 0.036578 seconds and 4 git commands to generate.