diff options
author | Steve Chamberlain <sac@cygnus> | 1993-06-18 01:31:54 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-06-18 01:31:54 +0000 |
commit | 90fe361fdc6ae7913463f1a9527c026203a71488 (patch) | |
tree | 8351e8f6d31b39b29e2f4947d81a5c2de178fc68 /sim/sh/run.c | |
parent | d360d135af92fd863e3699921176b55cb2479f8d (diff) | |
download | gdb-90fe361fdc6ae7913463f1a9527c026203a71488.zip gdb-90fe361fdc6ae7913463f1a9527c026203a71488.tar.gz gdb-90fe361fdc6ae7913463f1a9527c026203a71488.tar.bz2 |
* gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
* run.c (main): Get profiling args.
Diffstat (limited to 'sim/sh/run.c')
-rw-r--r-- | sim/sh/run.c | 11 |
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])); |