This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] static const char *arm_breakpoint_from_pc()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 21 Apr 2002 15:55:46 -0400
- Subject: [patch] static const char *arm_breakpoint_from_pc()
FYI,
Committed the attached. Missed this when updating all the other
breakpoint_from_pc() functions.
Andrew
2002-04-21 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
type const.
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.49
diff -u -r1.49 arm-tdep.c
--- arm-tdep.c 21 Apr 2002 03:46:44 -0000 1.49
+++ arm-tdep.c 21 Apr 2002 19:45:05 -0000
@@ -2111,7 +2111,7 @@
memory. It is nice that this is the same size as a handle -
otherwise remote-rdp will have to change. */
-unsigned char *
+static const unsigned char *
arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);