aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-13 21:24:21 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-13 21:24:21 +0000
commitf89b749f3c0347fe1ea838657eb7a00d23d2cbf8 (patch)
treee53072680c1062b32d7982d36a56300201ca31c8 /gdb
parentc14feecc50e1e5d07f787acb7c059136368f2601 (diff)
downloadgdb-f89b749f3c0347fe1ea838657eb7a00d23d2cbf8.zip
gdb-f89b749f3c0347fe1ea838657eb7a00d23d2cbf8.tar.gz
gdb-f89b749f3c0347fe1ea838657eb7a00d23d2cbf8.tar.bz2
2010-05-13 Michael Snyder <msnyder@vmware.com>
* stack.c: White space, add blank lines.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/stack.c4
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);