From: Yao Qi Date: Wed, 6 Jun 2012 08:31:31 +0000 (+0000) Subject: gdb/gdbserver/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d38bbb0a50284438f1d8e9418ad140370c0dc955;p=binutils-gdb.git gdb/gdbserver/ * ax.c (gdb_eval_agent_expr): Print `top' in hex. --- 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)); } }