diff options
author | Michael Snyder <msnyder@vmware.com> | 2003-06-05 02:17:29 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2003-06-05 02:17:29 +0000 |
commit | 828c9ae66896291b30bcb524b9684999731bf5ee (patch) | |
tree | 77107f41f65488acada3308d8489fdc1c016cab8 /sim/common/run.c | |
parent | ae0e8cb6ea96e1820f3b2060174defd7ec356ba2 (diff) | |
download | gdb-828c9ae66896291b30bcb524b9684999731bf5ee.zip gdb-828c9ae66896291b30bcb524b9684999731bf5ee.tar.gz gdb-828c9ae66896291b30bcb524b9684999731bf5ee.tar.bz2 |
2003-06-04 Michael Snyder <msnyder@redhat.com>
* common/run.c (main): Remove SIM_H8300 ifdef.
(usage): Ditto.
* common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
(standard_options): Add '-x' for h8/300sx.
(standard_option_handler): Add case for SIM_H8300SX.
Diffstat (limited to 'sim/common/run.c')
-rw-r--r-- | sim/common/run.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sim/common/run.c b/sim/common/run.c index 4131dd7..7964200 100644 --- a/sim/common/run.c +++ b/sim/common/run.c @@ -119,11 +119,7 @@ main (ac, av) /* FIXME: This is currently being rewritten to have each simulator do all argv processing. */ -#ifdef SIM_H8300 /* FIXME: quick hack */ - while ((i = getopt (ac, av, "a:c:m:op:s:hStv")) != EOF) -#else while ((i = getopt (ac, av, "a:c:m:op:s:tv")) != EOF) -#endif switch (i) { case 'a': @@ -176,14 +172,6 @@ main (ac, av) /* sim_set_verbose (1); */ break; /* FIXME: Quick hack, to be replaced by more general facility. */ -#ifdef SIM_H8300 - case 'h': - set_h8300h (1, 0); - break; - case 'S': - set_h8300h (1, 1); - break; -#endif default: usage (); } @@ -288,11 +276,6 @@ main (ac, av) the signal that the simulator received; we want to return that to indicate failure. */ -#ifdef SIM_H8300 /* FIXME: Ugh. grep for SLEEP in compile.c */ - if (sigrc == SIGILL) - abort (); - sigrc = 0; -#else /* Why did we stop? */ switch (reason) { @@ -311,7 +294,6 @@ main (ac, av) break; } -#endif return sigrc; } @@ -325,10 +307,6 @@ usage () #ifdef SIM_HAVE_SIMCACHE fprintf (stderr, "-c size Set simulator cache size to `size'.\n"); #endif -#ifdef SIM_H8300 - fprintf (stderr, "-h Executable is for H8/300H.\n"); - fprintf (stderr, "-S Executable is for H8S.\n"); -#endif fprintf (stderr, "-m size Set memory size of simulator, in bytes.\n"); #ifdef SIM_HAVE_ENVIRONMENT fprintf (stderr, "-o Select operating (kernel) environment.\n"); |