diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-26 10:36:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-26 10:36:45 +0000 |
commit | 07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7 (patch) | |
tree | 85dd43c9de9ea8d822a447cbaa493c0489fabe04 /gdb/rs6000-tdep.c | |
parent | f1b2a4d619ff7427f4d1b9674a98f8799c74d594 (diff) | |
download | gdb-07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7.zip gdb-07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7.tar.gz gdb-07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 36f5f61..c8db798 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -144,8 +144,8 @@ rs6000_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; |