mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Make static. * arm-tdep.c (arm_register_name): Make return type constant.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user