diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-05-10 22:20:18 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-05-10 22:20:18 +0000 |
commit | 3117ed2595d3c609fa37e8adfb1e08fbae89cdb5 (patch) | |
tree | ca592804b7dfc1e19ff852e93ee8fb28faa6bdc9 | |
parent | f1f0d9ab14a55973f82d67fe1fa8195e80b325be (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4c3c3fb..06894a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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 */ |