and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.
+Thu Nov 26 11:19:15 1998 Andrew Cagney <cagney@chook.cygnus.com>
+
+ * rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpoint
+ and little_breakpoint to char[] from char*.
+ * remote-array.c (array_insert_breakpoint): Change bp_addr to
+ CORE_ADDR type.
+
Wed Nov 25 00:13:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
* vx-share/xdr_ld.c (xdr_ldtabl): Cast second arg to char**
{
int i;
int bp_size = 0;
- int bp_addr = addr;
+ CORE_ADDR bp_addr = addr;
debuglogs (1, "array_insert_breakpoint() addr = 0x%x", addr);
BREAKPOINT_FROM_PC (&bp_addr, &bp_size);
CORE_ADDR *bp_addr;
int *bp_size;
{
- static unsigned char *big_breakpoint = BIG_BREAKPOINT;
- static unsigned char *little_breakpoint = LITTLE_BREAKPOINT;
+ static unsigned char big_breakpoint[] = BIG_BREAKPOINT;
+ static unsigned char little_breakpoint[] = LITTLE_BREAKPOINT;
*bp_size = 4;
if (TARGET_BYTE_ORDER == BIG_ENDIAN)
return big_breakpoint;