aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/mem-break.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-02 17:37:35 +0000
committerDoug Evans <dje@google.com>2012-07-02 17:37:35 +0000
commit657c4e8cc6360be04241d0d8b22556bcad42c4a4 (patch)
tree62dd1d0c44ce0a8b3b7d8bb1c19331ba09a45e58 /gdb/gdbserver/mem-break.c
parent7f216e7c7c1812f0acf33cd537b24e9a056ca6f4 (diff)
downloadgdb-657c4e8cc6360be04241d0d8b22556bcad42c4a4.zip
gdb-657c4e8cc6360be04241d0d8b22556bcad42c4a4.tar.gz
gdb-657c4e8cc6360be04241d0d8b22556bcad42c4a4.tar.bz2
(gdb_no_commands_at_breakpoint): Tweak previous patch for win64 where
sizeof (long) < sizeof (void*).
Diffstat (limited to 'gdb/gdbserver/mem-break.c')
-rw-r--r--gdb/gdbserver/mem-break.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c
index 8ab6e13..39dcb86 100644
--- a/gdb/gdbserver/mem-break.c
+++ b/gdb/gdbserver/mem-break.c
@@ -930,8 +930,9 @@ gdb_no_commands_at_breakpoint (CORE_ADDR where)
return 0;
if (debug_threads)
- fprintf (stderr, "at 0x%s, bp command_list is 0x%lx\n",
- paddress (where), (long) (uintptr_t) bp->command_list);
+ fprintf (stderr, "at 0x%s, bp command_list is 0x%s\n",
+ paddress (where),
+ phex_nz ((uintptr_t) bp->command_list, 0));
return (bp->command_list == NULL);
}