aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-05-10 22:20:18 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-05-10 22:20:18 +0000
commit3117ed2595d3c609fa37e8adfb1e08fbae89cdb5 (patch)
treeca592804b7dfc1e19ff852e93ee8fb28faa6bdc9 /gdb/sh-tdep.c
parentf1f0d9ab14a55973f82d67fe1fa8195e80b325be (diff)
downloadgdb-3117ed2595d3c609fa37e8adfb1e08fbae89cdb5.zip
gdb-3117ed2595d3c609fa37e8adfb1e08fbae89cdb5.tar.gz
gdb-3117ed2595d3c609fa37e8adfb1e08fbae89cdb5.tar.bz2
2002-05-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 4d6b113..122b489 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -230,7 +230,7 @@ sh_sh4_register_name (int reg_nr)
return register_names[reg_nr];
}
-static unsigned char *
+static const unsigned char *
sh_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
{
/* 0xc3c3 is trapa #c3, and it works in big and little endian modes */