From: Michael Meissner Date: Tue, 14 Nov 1995 09:52:29 +0000 (+0000) Subject: Fix warnings and dependency X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ac79ccd41d788a8d44ccfee910021df3e227517a;p=deliverable%2Fbinutils-gdb.git Fix warnings and dependency --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index aae1bc22a5..2502cb5af2 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 14 04:47:25 1995 Michael Meissner + + * Makefile.in (devices.o): Update dependency. + + * igen.c (gen_model_h): Use correct variable in loop. + (lf_print_c_semantic_function_header): Delete unused function. + Mon Nov 13 09:14:13 1995 Michael Meissner * igen.c ({insn,model}_table_fields): Spell mnemonic correctly. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index ccf0ab262a..d7243713cf 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -319,7 +319,7 @@ spreg.o: spreg.h spreg.c words.h main.o: main.c $(PSIM_H) function_unit.h itable.h options.h -devices.o: devices.c devices.h $(BASICS_H) \ +devices.o: devices.c devices.h $(CPU_H) \ device_tree.h events.h device_tree.o: device_tree.c device_tree.h devices.h $(BASICS_H) diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c index 4eb23102ef..be84fa873a 100644 --- a/sim/ppc/igen.c +++ b/sim/ppc/igen.c @@ -2267,21 +2267,6 @@ lf_print_c_semantic(lf *file, lf_printf(file, "}\n"); } -static void -lf_print_c_semantic_function_header(lf *file, - char *basename, - insn_bits *expanded_bits) -{ - lf_printf(file, "\n"); - lf_printf(file, "STATIC_SEMANTICS unsigned_word\n"); - lf_print_function_name(file, - basename, - expanded_bits, - function_name_prefix_semantics); - lf_printf(file, "\n(%s)\n", - (idecode_cache ? cache_semantic_formal : semantic_formal)); -} - static void lf_print_c_semantic_function(lf *file, insn *instruction, @@ -3084,7 +3069,7 @@ gen_model_h(insn_table *table, lf *file) lf_printf(file, "\n"); for(macro = model_macros; macro; macro = macro->next) { - model_c_or_h_data(table, file, insn_ptr->file_entry); + model_c_or_h_data(table, file, macro->file_entry); } lf_printf(file, "#ifndef INLINE_MODEL\n");