aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-watch.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
commit028f6515424e832ee10a1e4cb1f96ea241e2acae (patch)
treec8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/sim-watch.c
parent7f35e991971df570411a2688b948cd72adb4cf90 (diff)
downloadfsf-binutils-gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip
fsf-binutils-gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz
fsf-binutils-gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/sim-watch.c')
-rw-r--r--sim/common/sim-watch.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sim/common/sim-watch.c b/sim/common/sim-watch.c
index 7f43071..2fa48af 100644
--- a/sim/common/sim-watch.c
+++ b/sim/common/sim-watch.c
@@ -165,7 +165,7 @@ do_watchpoint_info (SIM_DESC sd)
sim_io_printf (sd, "\n");
}
}
-
+
static sim_event_handler handle_watchpoint;
@@ -221,7 +221,7 @@ handle_watchpoint (SIM_DESC sd, void *data)
schedule_watchpoint (sd, point);
else
do_watchpoint_delete (sd, point->ident, invalid_watchpoint);
-
+
if (point->interrupt_nr == watch->nr_interrupts)
sim_engine_halt (sd, NULL, NULL, NULL_CIA, sim_stopped, SIM_SIGINT);
else
@@ -260,7 +260,7 @@ do_watchpoint_create (SIM_DESC sd,
break;
arg++;
}
-
+
(*point)->arg0 = strtoul (arg, &arg, 0);
if (arg[0] == ',')
(*point)->arg0 = strtoul (arg, NULL, 0);
@@ -283,7 +283,7 @@ watchpoint_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt,
else
switch (opt)
{
-
+
case OPTION_WATCH_DELETE:
if (isdigit ((int) arg[0]))
{
@@ -337,19 +337,19 @@ watchpoint_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt,
}
sim_io_eprintf (sd, "Unknown watchpoint type `%s'\n", arg);
return SIM_RC_FAIL;
-
+
case OPTION_WATCH_INFO:
{
do_watchpoint_info (sd);
return SIM_RC_OK;
}
-
+
default:
sim_io_eprintf (sd, "Unknown watch option %d\n", opt);
return SIM_RC_FAIL;
-
+
}
-
+
}