* mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from

pointer to int.
This commit is contained in:
Doug Evans
2012-07-02 17:11:36 +00:00
parent d628b0e133
commit 7f216e7c7c
2 changed files with 8 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
#include "server.h"
#include "regcache.h"
#include "ax.h"
#include <stdint.h>
const unsigned char *breakpoint_data;
int breakpoint_len;
@@ -929,8 +930,8 @@ gdb_no_commands_at_breakpoint (CORE_ADDR where)
return 0;
if (debug_threads)
fprintf (stderr, "at 0x%s, bp command_list is 0x%x\n",
paddress (where), (int) bp->command_list);
fprintf (stderr, "at 0x%s, bp command_list is 0x%lx\n",
paddress (where), (long) (uintptr_t) bp->command_list);
return (bp->command_list == NULL);
}