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/arm-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/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index e316cf7..ba213ae 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2503,7 +2503,7 @@ set_disassembly_flavor_sfunc (char *args, int from_tty, } /* Return the ARM register name corresponding to register I. */ -static char * +static const char * arm_register_name (int i) { return arm_register_names[i]; |