aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/cp1.c
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-06-03 22:30:52 +0000
committerChris Demetriou <cgd@google.com>2002-06-03 22:30:52 +0000
commite80fc1523d15f2ff344ab9ef6798765dab9ca0db (patch)
tree874033c1785d2f5e88e00923f3933bb7b5c2510c /sim/mips/cp1.c
parentbad673a9cb51c25370660c88887d0ad3b34b007b (diff)
downloadgdb-e80fc1523d15f2ff344ab9ef6798765dab9ca0db.zip
gdb-e80fc1523d15f2ff344ab9ef6798765dab9ca0db.tar.gz
gdb-e80fc1523d15f2ff344ab9ef6798765dab9ca0db.tar.bz2
2002-06-03 Chris Demetriou <cgd@broadcom.com>
* cp1.c: fix formatting of switch case and default labels. * interp.c: Likewise. * sim-main.c: Likewise.
Diffstat (limited to 'sim/mips/cp1.c')
-rw-r--r--sim/mips/cp1.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sim/mips/cp1.c b/sim/mips/cp1.c
index 3b1cac2..c6476a3 100644
--- a/sim/mips/cp1.c
+++ b/sim/mips/cp1.c
@@ -176,7 +176,7 @@ value_fpr (SIM_DESC sd,
}
break;
- default :
+ default:
err = -1;
break;
}
@@ -216,8 +216,8 @@ store_fpr (SIM_DESC sd,
{
case fmt_uninterpreted_32:
fmt = fmt_uninterpreted;
- case fmt_single :
- case fmt_word :
+ case fmt_single:
+ case fmt_word:
if (STATE_VERBOSE_P (SD))
sim_io_eprintf (SD,
"Warning: PC 0x%s: interp.c store_fpr DEADCODE\n",
@@ -229,13 +229,13 @@ store_fpr (SIM_DESC sd,
case fmt_uninterpreted_64:
fmt = fmt_uninterpreted;
case fmt_uninterpreted:
- case fmt_double :
- case fmt_long :
+ case fmt_double:
+ case fmt_long:
FGR[fpr] = value;
FPR_STATE[fpr] = fmt;
break;
- default :
+ default:
FPR_STATE[fpr] = fmt_unknown;
err = -1;
break;
@@ -247,8 +247,8 @@ store_fpr (SIM_DESC sd,
{
case fmt_uninterpreted_32:
fmt = fmt_uninterpreted;
- case fmt_single :
- case fmt_word :
+ case fmt_single:
+ case fmt_word:
FGR[fpr] = (value & 0xFFFFFFFF);
FPR_STATE[fpr] = fmt;
break;
@@ -256,8 +256,8 @@ store_fpr (SIM_DESC sd,
case fmt_uninterpreted_64:
fmt = fmt_uninterpreted;
case fmt_uninterpreted:
- case fmt_double :
- case fmt_long :
+ case fmt_double:
+ case fmt_long:
if ((fpr & 1) == 0)
{
/* even register number only */
@@ -274,7 +274,7 @@ store_fpr (SIM_DESC sd,
}
break;
- default :
+ default:
FPR_STATE[fpr] = fmt_unknown;
err = -1;
break;