2002-05-10 Elena Zannoni <ezannoni@redhat.com>

* sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
This commit is contained in:
Elena Zannoni 2002-05-10 22:20:18 +00:00
parent f1f0d9ab14
commit 3117ed2595
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
2002-05-10 Daniel Jacobowitz <drow@mvista.com>
* linespec.c (decode_line_1): Check for a double quote after

View File

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