From 1835992e855809da6b7ade5b4debc0ec645a12e5 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 24 Jun 1993 20:43:41 +0000 Subject: * run.c (main): Fix parsing of args. * compile.c (sim_resume): Fix shll insn. --- sim/h8300/run.c | 13 ++++--------- 1 file 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; } -- cgit v1.1