aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/sh/run.c')
-rw-r--r--sim/sh/run.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/sh/run.c b/sim/sh/run.c
index e0398c5..ea443d6 100644
--- a/sim/sh/run.c
+++ b/sim/sh/run.c
@@ -46,6 +46,17 @@ main (ac, av)
{
trace = 1;
}
+ else if (strcmp (av[i], "-p") == 0)
+ {
+ sim_set_profile(atoi(av[i+1]));
+ i++;
+
+ }
+ else if (strcmp (av[i], "-s") == 0)
+ {
+ sim_set_profile_size(atoi(av[i+1]));
+ i++;
+ }
else if (strcmp (av[i], "-m") == 0)
{
sim_size(atoi(av[i+1]));