aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/run.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1993-06-24 20:43:41 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1993-06-24 20:43:41 +0000
commit1835992e855809da6b7ade5b4debc0ec645a12e5 (patch)
treef3f27eeb7951978478b7e4c3104cd81b310dcb7d /sim/h8300/run.c
parent4ae030b938c3949c08d2c11dd8874e4b2907727b (diff)
downloadgdb-1835992e855809da6b7ade5b4debc0ec645a12e5.zip
gdb-1835992e855809da6b7ade5b4debc0ec645a12e5.tar.gz
gdb-1835992e855809da6b7ade5b4debc0ec645a12e5.tar.bz2
* run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.
Diffstat (limited to 'sim/h8300/run.c')
-rw-r--r--sim/h8300/run.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/sim/h8300/run.c b/sim/h8300/run.c
index 669c83f..44064d8 100644
--- a/sim/h8300/run.c
+++ b/sim/h8300/run.c
@@ -49,16 +49,12 @@ main (ac, av)
}
else
+ name = av[i];
+ }
- if (verbose)
-
- {
-
- name = av[i];
-
- printf ("run %s\n", name);
+ if (verbose)
+ printf ("run %s\n", name);
- }
abfd = bfd_openr (name, "coff-h8300");
if (abfd)
{
@@ -82,7 +78,6 @@ main (ac, av)
}
}
- }
return 1;
}