aboutsummaryrefslogtreecommitdiff
path: root/opcodes/microblaze-dis.c
diff options
context:
space:
mode:
authorMichael Eager <eager@eagercon.com>2009-10-07 15:40:17 +0000
committerMichael Eager <eager@eagercon.com>2009-10-07 15:40:17 +0000
commitef299415078bb9a103d188cb321d685dd53ac1fa (patch)
tree1a8a7eab289ac3d4d2957918bb1b9b07b4d898fc /opcodes/microblaze-dis.c
parent7f5309a5ccd49a338cd5691c5d21e8ef60d07c97 (diff)
downloadgdb-ef299415078bb9a103d188cb321d685dd53ac1fa.zip
gdb-ef299415078bb9a103d188cb321d685dd53ac1fa.tar.gz
gdb-ef299415078bb9a103d188cb321d685dd53ac1fa.tar.bz2
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls. * opcodes/microblaze-dis.h: New.
Diffstat (limited to 'opcodes/microblaze-dis.c')
-rw-r--r--opcodes/microblaze-dis.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/opcodes/microblaze-dis.c b/opcodes/microblaze-dis.c
index 3c4eef9..b4723c2 100644
--- a/opcodes/microblaze-dis.c
+++ b/opcodes/microblaze-dis.c
@@ -24,9 +24,10 @@
#define STATIC_TABLE
#define DEFINE_TABLE
-#include "microblaze-opc.h"
#include "dis-asm.h"
#include <strings.h>
+#include "microblaze-opc.h"
+#include "microblaze-dis.h"
#define get_field_rd(instr) get_field (instr, RD_MASK, RD_LOW)
#define get_field_r1(instr) get_field (instr, RA_MASK, RA_LOW)
@@ -35,11 +36,6 @@
#define get_int_field_r1(instr) ((instr & RA_MASK) >> RA_LOW)
-enum microblaze_instr get_insn_microblaze (long, bfd_boolean *,
- enum microblaze_instr_type *, short *);
-unsigned long microblaze_get_target_address (long, bfd_boolean, int, long, long,
- long, bfd_boolean *, bfd_boolean *);
-enum microblaze_instr microblaze_decode_insn (long insn, int *rd, int *ra, int *rb, int *imm);
static char *
get_field (long instr, long mask, unsigned short low)