diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-28 21:42:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-28 21:42:32 +0000 |
commit | f471e80ba5f92f4251d2609b86e351ccb98e27bc (patch) | |
tree | 3f76a9f57e647c4d97350a3f70560944f511e210 /gdb/mips-tdep.c | |
parent | 76cbd54ce4ce2683b451f5a8027974d60cc220f0 (diff) | |
download | gdb-f471e80ba5f92f4251d2609b86e351ccb98e27bc.tar.gz |
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 72f4f9beab1..b29a33a89c0 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3292,6 +3292,8 @@ show_mipsfpu_command (char *args, int from_tty) case MIPS_FPU_NONE: fpu = "absent (none)"; break; + default: + internal_error (__FILE__, __LINE__, "bad switch"); } if (mips_fpu_type_auto) printf_unfiltered ("The MIPS floating-point coprocessor is set automatically (currently %s)\n", @@ -4157,9 +4159,10 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file) ef_mips_arch = 3; break; case E_MIPS_ARCH_4: - ef_mips_arch = 0; + ef_mips_arch = 4; break; default: + ef_mips_arch = 0; break; } /* determine the size of a pointer */ |