mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
This commit is contained in:
parent
0c318c4966
commit
864a1a37a3
@ -1,5 +1,7 @@
|
||||
2005-08-14 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
|
||||
|
||||
* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
|
||||
"__sighndlr".
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user