aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-02-15 10:05:56 +0000
committerYao Qi <yao.qi@linaro.org>2016-02-15 10:05:56 +0000
commit0a0da55626b632a8b8beb6c7878b866861e5daee (patch)
tree6e6915e9ea443c50a5f33bb7ce4110393a3507d5 /gdb/aarch64-tdep.c
parentcbdf6768d9d25fbbe5e579818d6f5ddb9a992eb8 (diff)
downloadgdb-0a0da55626b632a8b8beb6c7878b866861e5daee.zip
gdb-0a0da55626b632a8b8beb6c7878b866861e5daee.tar.gz
gdb-0a0da55626b632a8b8beb6c7878b866861e5daee.tar.bz2
Don't print 0x for core_addr_to_string_nz
core_addr_to_string_nz returns string which has "0x" prefix, so don't need to print "0x" again. This patch is to remove the "0x". gdb: 2016-02-15 Yao Qi <yao.qi@linaro.org> * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".
Diffstat (limited to 'gdb/aarch64-tdep.c')
-rw-r--r--gdb/aarch64-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index 798a1b7..77155ef 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -299,7 +299,7 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch,
if (aarch64_debug)
{
debug_printf ("aarch64: prologue analysis gave up "
- "addr=0x%s opcode=0x%x (orr x register)\n",
+ "addr=%s opcode=0x%x (orr x register)\n",
core_addr_to_string_nz (start), insn);
}
break;
@@ -365,7 +365,7 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch,
{
if (aarch64_debug)
{
- debug_printf ("aarch64: prologue analysis gave up addr=0x%s"
+ debug_printf ("aarch64: prologue analysis gave up addr=%s"
" opcode=0x%x\n",
core_addr_to_string_nz (start), insn);
}