2013-06-12 Phil Muldoon <pmuldoon@redhat.com>
* stack.c (backtrace_command_1): Fix indentation.
This commit is contained in:
parent
049c1c8e38
commit
d0548fa274
2 changed files with 16 additions and 12 deletions
|
@ -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>
|
2013-06-11 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* window-nat.c (thread_rec): Add missing empty line after
|
* window-nat.c (thread_rec): Add missing empty line after
|
||||||
|
|
24
gdb/stack.c
24
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);
|
print_frame_info (fi, 1, LOCATION, 1);
|
||||||
if (show_locals)
|
if (show_locals)
|
||||||
{
|
|
||||||
struct frame_id frame_id = get_frame_id (fi);
|
|
||||||
|
|
||||||
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;
|
struct frame_id frame_id = get_frame_id (fi);
|
||||||
warning (_("Unable to restore previously selected frame."));
|
|
||||||
break;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Save the last frame to check for error conditions. */
|
/* Save the last frame to check for error conditions. */
|
||||||
trailing = fi;
|
trailing = fi;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue