diff options
author | Yao Qi <yao@codesourcery.com> | 2012-06-06 08:31:31 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-06-06 08:31:31 +0000 |
commit | d38bbb0a50284438f1d8e9418ad140370c0dc955 (patch) | |
tree | 1dc48e8778c24314fd5cad1af52ccacdef64dcf1 /gdb/gdbserver | |
parent | 6bd110c5c183d3d32b022ea9ddd02d1c1fe93187 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/ax.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a52d944..fd1ffec 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2012-06-06 Yao Qi <yao@codesourcery.com> + + * ax.c (gdb_eval_agent_expr): Print `top' in hex. + 2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com> Fix gcc -flto compilation warning. 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)); } } |