This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Small tweak to sparc-tdep.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sun, 14 Aug 2005 00:12:28 +0200 (CEST)
- Subject: [commit] Small tweak to sparc-tdep.c
Nothing shocking, but it gets rid of an 'M' in my tree.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
Index: sparc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.164
diff -u -p -r1.164 sparc-tdep.c
--- sparc-tdep.c 12 Jun 2005 11:10:56 -0000 1.164
+++ sparc-tdep.c 13 Aug 2005 22:11:08 -0000
@@ -493,7 +493,7 @@ sparc32_push_dummy_call (struct gdbarch
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;