From 3adb0b19b5905676d255e89b0d07d15f4f1ded06 Mon Sep 17 00:00:00 2001 From: drow Date: Sun, 10 Feb 2002 19:03:14 +0000 Subject: [PATCH] 2002-02-10 Daniel Jacobowitz * cgen-dis.c: Add prototypes for count_decodable_bits and add_insn_to_hash_chain. --- opcodes/ChangeLog | 5 +++++ opcodes/cgen-dis.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index fef1903927..86a8d64cf4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2002-02-10 Daniel Jacobowitz + + * cgen-dis.c: Add prototypes for count_decodable_bits + and add_insn_to_hash_chain. + 2002-02-08 Alexandre Oliva * configure.in : Enable sh64 support on sh-*. diff --git a/opcodes/cgen-dis.c b/opcodes/cgen-dis.c index 4622c8c47c..881ee1470f 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 -- 2.11.0