aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ax.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-06-06 08:31:31 +0000
committerYao Qi <yao@codesourcery.com>2012-06-06 08:31:31 +0000
commitd38bbb0a50284438f1d8e9418ad140370c0dc955 (patch)
tree1dc48e8778c24314fd5cad1af52ccacdef64dcf1 /gdb/gdbserver/ax.c
parent6bd110c5c183d3d32b022ea9ddd02d1c1fe93187 (diff)
downloadgdb-d38bbb0a50284438f1d8e9418ad140370c0dc955.zip
gdb-d38bbb0a50284438f1d8e9418ad140370c0dc955.tar.gz
gdb-d38bbb0a50284438f1d8e9418ad140370c0dc955.tar.bz2
gdb/gdbserver/
* ax.c (gdb_eval_agent_expr): Print `top' in hex.
Diffstat (limited to 'gdb/gdbserver/ax.c')
-rw-r--r--gdb/gdbserver/ax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/ax.c b/gdb/gdbserver/ax.c
index 4eba27b..4075c26 100644
--- a/gdb/gdbserver/ax.c
+++ b/gdb/gdbserver/ax.c
@@ -1186,6 +1186,6 @@ gdb_eval_agent_expr (struct regcache *regcache,
}
ax_debug ("Op %s -> sp=%d, top=0x%s",
- gdb_agent_op_name (op), sp, pulongest (top));
+ gdb_agent_op_name (op), sp, phex_nz (top, 0));
}
}