From: Phil Muldoon Date: Wed, 12 Jun 2013 12:16:47 +0000 (+0000) Subject: 2013-06-12 Phil Muldoon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0548fa274232b0aef4a578af02ffd03c39d3b5a;p=binutils-gdb.git 2013-06-12 Phil Muldoon * stack.c (backtrace_command_1): Fix indentation. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1415ea4643..ad73d8f86f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-06-12 Phil Muldoon + + * stack.c (backtrace_command_1): Fix indentation. + 2013-06-11 Joel Brobecker * window-nat.c (thread_rec): Add missing empty line after diff --git a/gdb/stack.c b/gdb/stack.c index a4b392e563b..08431bb19d5 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -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;