gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Wed, 6 Jun 2012 08:31:31 +0000 (08:31 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 6 Jun 2012 08:31:31 +0000 (08:31 +0000)
* ax.c (gdb_eval_agent_expr): Print `top' in hex.

gdb/gdbserver/ChangeLog
gdb/gdbserver/ax.c

index a52d944..fd1ffec 100644 (file)
@@ -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.
index 4eba27b..4075c26 100644 (file)
@@ -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));
     }
 }