From 3117ed2595d3c609fa37e8adfb1e08fbae89cdb5 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 10 May 2002 22:20:18 +0000 Subject: [PATCH] 2002-05-10 Elena Zannoni * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. --- gdb/ChangeLog | 4 ++++ gdb/sh-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4c3c3fbeca1..06894a63586 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-05-10 Elena Zannoni + + * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. + 2002-05-10 Daniel Jacobowitz * linespec.c (decode_line_1): Check for a double quote after diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 4d6b1133dce..122b489e485 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 */ -- 2.30.2