aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-10 19:03:14 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-10 19:03:14 +0000
commit34b0f91d24c2668c92d68fefe418cb02bfcc97db (patch)
tree5d18d24dbeaca518e4ff00b320c65de3d13d3dcb /opcodes/cgen-dis.c
parentUpdate copyright date per last commit. (diff)
downloadbinutils-gdb-34b0f91d24c2668c92d68fefe418cb02bfcc97db.tar.gz
binutils-gdb-34b0f91d24c2668c92d68fefe418cb02bfcc97db.tar.bz2
binutils-gdb-34b0f91d24c2668c92d68fefe418cb02bfcc97db.zip
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* cgen-dis.c: Add prototypes for count_decodable_bits and add_insn_to_hash_chain.
Diffstat (limited to 'opcodes/cgen-dis.c')
-rw-r--r--opcodes/cgen-dis.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/cgen-dis.c b/opcodes/cgen-dis.c
index 4622c8c47c3..881ee1470f3 100644
--- a/opcodes/cgen-dis.c
+++ b/opcodes/cgen-dis.c
@@ -1,6 +1,6 @@
/* CGEN generic disassembler support code.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of the GNU Binutils and GDB, the GNU debugger.
@@ -30,6 +30,11 @@
static CGEN_INSN_LIST * hash_insn_array PARAMS ((CGEN_CPU_DESC, const CGEN_INSN *, int, int, CGEN_INSN_LIST **, CGEN_INSN_LIST *));
static CGEN_INSN_LIST * hash_insn_list PARAMS ((CGEN_CPU_DESC, const CGEN_INSN_LIST *, CGEN_INSN_LIST **, CGEN_INSN_LIST *));
static void build_dis_hash_table PARAMS ((CGEN_CPU_DESC));
+static int count_decodable_bits PARAMS ((const CGEN_INSN *));
+static void add_insn_to_hash_chain PARAMS ((CGEN_INSN_LIST *,
+ const CGEN_INSN *,
+ CGEN_INSN_LIST **,
+ unsigned int));
/* Return the number of decodable bits in this insn. */
static int