mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from
pointer to int.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-07-02 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from
|
||||||
|
pointer to int.
|
||||||
|
|
||||||
2012-07-02 Stan Shebs <stan@codesourcery.com>
|
2012-07-02 Stan Shebs <stan@codesourcery.com>
|
||||||
|
|
||||||
* Makefile.in (WARN_CFLAGS_NO_FORMAT): Define.
|
* Makefile.in (WARN_CFLAGS_NO_FORMAT): Define.
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
#include "ax.h"
|
#include "ax.h"
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
const unsigned char *breakpoint_data;
|
const unsigned char *breakpoint_data;
|
||||||
int breakpoint_len;
|
int breakpoint_len;
|
||||||
@ -929,8 +930,8 @@ gdb_no_commands_at_breakpoint (CORE_ADDR where)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (debug_threads)
|
if (debug_threads)
|
||||||
fprintf (stderr, "at 0x%s, bp command_list is 0x%x\n",
|
fprintf (stderr, "at 0x%s, bp command_list is 0x%lx\n",
|
||||||
paddress (where), (int) bp->command_list);
|
paddress (where), (long) (uintptr_t) bp->command_list);
|
||||||
return (bp->command_list == NULL);
|
return (bp->command_list == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user