2013-06-12 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Wed, 12 Jun 2013 12:16:47 +0000 (12:16 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Wed, 12 Jun 2013 12:16:47 +0000 (12:16 +0000)
* stack.c (backtrace_command_1): Fix indentation.

gdb/ChangeLog
gdb/stack.c

index d1415ea464328fa42392948df374f500934a992e..ad73d8f86f6a262f8f7eb2f335deded08767afb9 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-12  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * stack.c (backtrace_command_1): Fix indentation.
+
 2013-06-11  Joel Brobecker  <brobecker@adacore.com>
 
        * window-nat.c (thread_rec): Add missing empty line after
index a4b392e563b09fbc1fed64795fe02859fb1f915c..08431bb19d505ec02f5ff49cc505e6479d52b403 100644 (file)
@@ -1766,20 +1766,20 @@ backtrace_command_1 (char *count_exp, int show_locals, int no_filters,
 
          print_frame_info (fi, 1, LOCATION, 1);
          if (show_locals)
-       {
-         struct frame_id frame_id = get_frame_id (fi);
+           {
+             struct frame_id frame_id = get_frame_id (fi);
 
-         print_frame_local_vars (fi, 1, gdb_stdout);
+             print_frame_local_vars (fi, 1, gdb_stdout);
 
-         /* print_frame_local_vars invalidates FI.  */
-         fi = frame_find_by_id (frame_id);
-         if (fi == NULL)
-           {
-             trailing = NULL;
-             warning (_("Unable to restore previously selected frame."));
-             break;
+             /* print_frame_local_vars invalidates FI.  */
+             fi = frame_find_by_id (frame_id);
+             if (fi == NULL)
+               {
+                 trailing = NULL;
+                 warning (_("Unable to restore previously selected frame."));
+                 break;
+               }
            }
-       }
 
          /* Save the last frame to check for error conditions.  */
          trailing = fi;