aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-02-17 19:51:04 +0000
committerFernando Nasser <fnasser@redhat.com>2000-02-17 19:51:04 +0000
commite8b09175c1a5d4520f7bf2bb62cf980fb5c8070c (patch)
tree78ec30b304a84c609a795c21470ea5c48b8e81d8
parent6ad49cca4c7a4ca1e71100a584ac0fd0e411cf48 (diff)
downloadgdb-e8b09175c1a5d4520f7bf2bb62cf980fb5c8070c.zip
gdb-e8b09175c1a5d4520f7bf2bb62cf980fb5c8070c.tar.gz
gdb-e8b09175c1a5d4520f7bf2bb62cf980fb5c8070c.tar.bz2
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
* arm-tdep.c: Use header file instead of extern declarations for the {get,set}_arm_regname* functions.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arm-tdep.c11
2 files changed, 6 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 61c5256..92c624d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
+
+ * arm-tdep.c: Use header file instead of extern declarations for
+ the {get,set}_arm_regname* functions.
+
2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* configure.in: Replaces obsolete gdbtk-variable.c with
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 24f5466..edacf98 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -27,19 +27,10 @@
#include "symfile.h"
#include "gdb_string.h"
#include "coff/internal.h" /* Internal format of COFF symbols in BFD */
+#include "dis-asm.h" /* For register flavors. */
extern void _initialize_arm_tdep (void);
-/* From opcodes/arm-dis.c */
-
-extern int get_arm_regname_num_options (void);
-
-extern int set_arm_regname_option (int option);
-
-extern int get_arm_regnames (int option, const char **setname,
- const char **setdescription,
- const char ***regnames);
-
/* Number of different reg name sets (options). */
static int num_flavor_options;