diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-14 10:52:24 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-14 10:52:24 +0000 |
commit | fe439e0f18af94a2cfb90193f2a71c679bc3e9f6 (patch) | |
tree | 1300886142ab1cbadb428ed964d99dda709d5510 | |
parent | a6cb89ff68e59329755739e153d58146826bd5de (diff) | |
download | gdb-fe439e0f18af94a2cfb90193f2a71c679bc3e9f6.zip gdb-fe439e0f18af94a2cfb90193f2a71c679bc3e9f6.tar.gz gdb-fe439e0f18af94a2cfb90193f2a71c679bc3e9f6.tar.bz2 |
fix more warnings
-rw-r--r-- | sim/ppc/ChangeLog | 5 | ||||
-rw-r--r-- | sim/ppc/igen.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 2502cb5..faeec3b 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,10 +1,13 @@ Tue Nov 14 04:47:25 1995 Michael Meissner <meissner@tiktok.cygnus.com> - * Makefile.in (devices.o): Update dependency. + * Makefile.in (devices.o, main.o): Update dependency. * igen.c (gen_model_h): Use correct variable in loop. + (gen_model_c): Use strcmp, strcasecmp. (lf_print_c_semantic_function_header): Delete unused function. + * main.c (cpu.h): Include cpu.h to get model.h. + Mon Nov 13 09:14:13 1995 Michael Meissner <meissner@tiktok.cygnus.com> * igen.c ({insn,model}_table_fields): Spell mnemonic correctly. diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c index be84fa8..38ec2fb 100644 --- a/sim/ppc/igen.c +++ b/sim/ppc/igen.c @@ -3340,7 +3340,7 @@ gen_model_c(insn_table *table, lf *file) if (models) { lf_printf(file, " model_enum model;\n"); lf_printf(file, " for(model = MODEL_%s; model < nr_models; model++) {\n", models->name); - lf_printf(file, " if(strcasecmp(name, model_name[model]) == 0) {\n"); + lf_printf(file, " if(strcmp(name, model_name[model]) == 0) {\n"); lf_printf(file, " current_model = model;\n"); lf_printf(file, " return;\n"); lf_printf(file, " }\n"); |