aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c4
1 files changed, 4 insertions, 0 deletions
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);