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 */