diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-08-13 22:12:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-08-13 22:12:24 +0000 |
commit | 864a1a37a3f9f104c66861db573ccb68e7f72e7b (patch) | |
tree | 8e951f6d4e78658def5a2d21a09ec57f7f7e7745 /gdb/sparc-tdep.c | |
parent | 0c318c49660f6d9a9b91e9ceb81351d4b7dea07b (diff) | |
download | gdb-864a1a37a3f9f104c66861db573ccb68e7f72e7b.zip gdb-864a1a37a3f9f104c66861db573ccb68e7f72e7b.tar.gz gdb-864a1a37a3f9f104c66861db573ccb68e7f72e7b.tar.bz2 |
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index a2af11a..1468943 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -493,7 +493,7 @@ sparc32_push_dummy_call (struct gdbarch *gdbarch, struct value *function, static const gdb_byte * sparc_breakpoint_from_pc (CORE_ADDR *pc, int *len) { - static gdb_byte break_insn[] = { 0x91, 0xd0, 0x20, 0x01 }; + static const gdb_byte break_insn[] = { 0x91, 0xd0, 0x20, 0x01 }; *len = sizeof (break_insn); return break_insn; |