diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
commit | 028f6515424e832ee10a1e4cb1f96ea241e2acae (patch) | |
tree | c8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/sim-options.c | |
parent | 7f35e991971df570411a2688b948cd72adb4cf90 (diff) | |
download | gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2 |
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/sim-options.c')
-rw-r--r-- | sim/common/sim-options.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c index b726987..0b4d4ee 100644 --- a/sim/common/sim-options.c +++ b/sim/common/sim-options.c @@ -515,7 +515,7 @@ dup_arg_p (const char *arg) arg_table[hash] = arg; return 0; } - + /* Called by sim_open to parse the arguments. */ SIM_RC @@ -637,7 +637,7 @@ sim_parse_args (SIM_DESC sd, char **argv) } } } - + /* Terminate the short and long option lists. */ *p = 0; lp->name = NULL; @@ -734,7 +734,7 @@ print_help (SIM_DESC sd, sim_cpu *cpu, const struct option_list *ol, int is_comm } while (OPTION_VALID_P (o) && o->doc == NULL); } - + /* list any long options (aliases) for the current OPT */ o = opt; do @@ -921,7 +921,7 @@ sim_args_command (SIM_DESC sd, char *cmd) /* something to do? */ if (cmd == NULL) return SIM_RC_OK; /* FIXME - perhaps help would be better */ - + if (cmd [0] == '-') { /* user specified -<opt> ... form? */ @@ -1012,7 +1012,7 @@ sim_args_command (SIM_DESC sd, char *cmd) freeargv (argv); } - + /* didn't find anything that remotly matched */ return SIM_RC_FAIL; } |