aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
commit93d56215df715181dba7f5275de9863f28a6c941 (patch)
treebfea01c982a361dfe8ad972cb291de3d8085a7c2 /gdb/sparc-tdep.c
parent381bab78db8ce8d9a17929364bdc7901ac17e4f0 (diff)
downloadgdb-93d56215df715181dba7f5275de9863f28a6c941.zip
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.gz
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.bz2
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index eded7b0..2cb27db 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -2381,6 +2381,8 @@ sparc64_push_arguments (int nargs, value_ptr *args, CORE_ADDR sp,
fpreg = FP0_REGNUM + 2 * register_counter;
register_counter += 2;
break;
+ default:
+ internal_error (__FILE__, __LINE__, "bad switch");
}
write_register_bytes (REGISTER_BYTE (fpreg),
VALUE_CONTENTS (args[i]),