diff options
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/stack.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74bb0ce..311987b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,7 @@ 2010-05-13 Michael Snyder <msnyder@vmware.com> - * stack.c (initialize_stack): Remove long-dead code. + * stack.c: White space, add blank lines. + (initialize_stack): Remove long-dead code. 2010-05-13 Jan Kratochvil <jan.kratochvil@redhat.com> diff --git a/gdb/stack.c b/gdb/stack.c index 7207b15..e05fe53 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -484,6 +484,7 @@ static void gdb_disassembly_stub (void *args) { struct gdb_disassembly_stub_args *p = args; + gdb_disassembly (p->gdbarch, uiout, 0, DISASSEMBLY_RAW_INSN, p->how_many, p->low, p->high); @@ -1372,6 +1373,7 @@ static int backtrace_command_stub (void *data) { struct backtrace_command_args *args = data; + backtrace_command_1 (args->count_exp, args->show_locals, args->from_tty); return 0; } @@ -1443,6 +1445,7 @@ static void backtrace_full_command (char *arg, int from_tty) { struct backtrace_command_args btargs; + btargs.count_exp = arg; btargs.show_locals = 1; btargs.from_tty = from_tty; @@ -1902,6 +1905,7 @@ down_silently_base (char *count_exp) { struct frame_info *frame; int count = -1; + if (count_exp) count = -parse_and_eval_long (count_exp); |