X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Figen%2Fgen-idecode.h;h=6a2914ede266cf305a388c7e48119a67dd0caa2f;hb=196535a69c8568342e62fdf5e3f5ade04470fd6a;hp=f46376bf9ed5264ee3b5f1fe7fc99e9adf654e98;hpb=a4c97499d90ab83a01d80d4c3df2455a73486e3c;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/igen/gen-idecode.h b/sim/igen/gen-idecode.h index f46376bf9e..6a2914ede2 100644 --- a/sim/igen/gen-idecode.h +++ b/sim/igen/gen-idecode.h @@ -1,32 +1,37 @@ -/* This file is part of the program psim. +/* The IGEN simulator generator for GDB, the GNU Debugger. - Copyright (C) 1994-1995, Andrew Cagney + Copyright 2002-2020 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Contributed by Andrew Cagney. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - */ + This file is part of GDB. -extern void gen_idecode_h -(lf *file, - insn_table *table, - cache_table *cache_rules); + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + +void print_idecode_issue_function_header + (lf *file, + const char *processor, + function_decl_type decl_type, int nr_prefetched_words); + +void print_idecode_globals (lf *file); + +void print_idecode_lookups + (lf *file, gen_entry *table, cache_entry *cache_rules); + +void print_idecode_body (lf *file, gen_entry *table, const char *result); -extern void gen_idecode_c -(lf *file, - insn_table *table, - cache_table *cache_rules); /* Output code to do any final checks on the decoded instruction. @@ -35,6 +40,4 @@ extern void gen_idecode_c hardware isn't disabled */ extern void print_idecode_validate -(lf *file, - insn *instruction, - opcode_field *opcodes); + (lf *file, insn_entry * instruction, insn_opcodes *opcode_paths);