diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7bea838d42..4d0e3015552 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2005-08-14 Mark Kettenis + * sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn. + * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for "__sighndlr". diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index a2af11a44b5..1468943d535 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;