From 3117ed2595d3c609fa37e8adfb1e08fbae89cdb5 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 10 May 2002 22:20:18 +0000 Subject: 2002-05-10 Elena Zannoni * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. --- gdb/sh-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/sh-tdep.c') 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 */ -- cgit v1.1