From: Michael Snyder Date: Thu, 13 May 2010 21:24:21 +0000 (+0000) Subject: 2010-05-13 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f89b749f3c0347fe1ea838657eb7a00d23d2cbf8;p=binutils-gdb.git 2010-05-13 Michael Snyder * stack.c: White space, add blank lines. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74bb0ce0506..311987b5528 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,7 @@ 2010-05-13 Michael Snyder - * 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 diff --git a/gdb/stack.c b/gdb/stack.c index 7207b1589e2..e05fe53fbe6 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);