aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-10 08:26:45 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-10 08:26:45 +0000
commit9ec7269fc58c675315ed37d71de36d596b9bd466 (patch)
treebe7becff34792d8a59748f1e0c3a78683b503aa2 /sim
parent709b3bb3ceb26fe1aa3a552acbaa63f80cdf8185 (diff)
downloadgdb-9ec7269fc58c675315ed37d71de36d596b9bd466.zip
gdb-9ec7269fc58c675315ed37d71de36d596b9bd466.tar.gz
gdb-9ec7269fc58c675315ed37d71de36d596b9bd466.tar.bz2
sim: drop duplicate break statements in sim-fpu
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-fpu.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index a40dbf8..89d238e 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2010-04-10 Mike Frysinger <vapier@gentoo.org>
+ * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements.
+
+2010-04-10 Mike Frysinger <vapier@gentoo.org>
+
* sim-trace.c (save_data): Add const markings to "buf" argument.
2010-04-10 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c
index 500a5f9..ad25f323e 100644
--- a/sim/common/sim-fpu.c
+++ b/sim/common/sim-fpu.c
@@ -2532,27 +2532,21 @@ sim_fpu_print_status (int status,
case sim_fpu_status_invalid_sqrt:
print (arg, "%sSQRT", prefix);
break;
- break;
case sim_fpu_status_inexact:
print (arg, "%sX", prefix);
break;
- break;
case sim_fpu_status_overflow:
print (arg, "%sO", prefix);
break;
- break;
case sim_fpu_status_underflow:
print (arg, "%sU", prefix);
break;
- break;
case sim_fpu_status_invalid_div0:
print (arg, "%s/", prefix);
break;
- break;
case sim_fpu_status_rounded:
print (arg, "%sR", prefix);
break;
- break;
}
i <<= 1;
prefix = ",";