From d38bbb0a50284438f1d8e9418ad140370c0dc955 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 6 Jun 2012 08:31:31 +0000 Subject: [PATCH] gdb/gdbserver/ * ax.c (gdb_eval_agent_expr): Print `top' in hex. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/ax.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a52d9442782..fd1ffecb6ff 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2012-06-06 Yao Qi + + * ax.c (gdb_eval_agent_expr): Print `top' in hex. + 2012-06-01 Jan Kratochvil Fix gcc -flto compilation warning. diff --git a/gdb/gdbserver/ax.c b/gdb/gdbserver/ax.c index 4eba27bb29a..4075c26de35 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)); } } -- 2.30.2