diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2013-06-12 12:16:47 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2013-06-12 12:16:47 +0000 |
commit | d0548fa274232b0aef4a578af02ffd03c39d3b5a (patch) | |
tree | 58f31e895672fa4b6220bb33d690181588063844 /gdb/stack.c | |
parent | 049c1c8e38dbceccb3275a5e52a27776b804c873 (diff) | |
download | gdb-d0548fa274232b0aef4a578af02ffd03c39d3b5a.zip gdb-d0548fa274232b0aef4a578af02ffd03c39d3b5a.tar.gz gdb-d0548fa274232b0aef4a578af02ffd03c39d3b5a.tar.bz2 |
2013-06-12 Phil Muldoon <pmuldoon@redhat.com>
* stack.c (backtrace_command_1): Fix indentation.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index a4b392e..08431bb 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; |