diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-07-11 19:25:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-07-11 19:25:13 +0000 |
commit | a208b0cb2b6cf223e90b2048fba1a4eee63e3db9 (patch) | |
tree | 5b2abefcdb3ef38691d2780dfc904a21cc05225a /gdb/cris-tdep.c | |
parent | 5ae5f592883d573d830841e3ee19d8ee37c3e9d8 (diff) | |
download | gdb-a208b0cb2b6cf223e90b2048fba1a4eee63e3db9.zip gdb-a208b0cb2b6cf223e90b2048fba1a4eee63e3db9.tar.gz gdb-a208b0cb2b6cf223e90b2048fba1a4eee63e3db9.tar.bz2 |
* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Make static.
* arm-tdep.c (arm_register_name): Make return type constant.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index f552de9..02605f0 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -774,8 +774,8 @@ cris_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) /* Returns the register SRP (subroutine return pointer) which must contain the content of the register PC after a function call. */ -CORE_ADDR -cris_saved_pc_after_call (void) +static CORE_ADDR +cris_saved_pc_after_call (struct frame_info *frame) { return read_register (SRP_REGNUM); } |