This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]