diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-11-06 05:00:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-11-06 05:00:09 +0000 |
commit | 864519b9fdc3e1a14cbff8af20d7055f617233cd (patch) | |
tree | e8cc699c035416c5c0c37038c2e3ded53d984ee7 /sim | |
parent | 070937ba64416bdcf60d51a07649617b3ac3d522 (diff) | |
download | gdb-864519b9fdc3e1a14cbff8af20d7055f617233cd.zip gdb-864519b9fdc3e1a14cbff8af20d7055f617233cd.tar.gz gdb-864519b9fdc3e1a14cbff8af20d7055f617233cd.tar.bz2 |
Allow separate single character and long options.
Avoid overflow of options buffer.
Provide examples of sim-options use.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index a75e522..ddb182a 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,20 @@ +Thu Nov 6 12:06:46 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum. + (standard_option_handler): Update. + + * sim-options.h: Clarify documentation. + (OPTION_LONG_ONLY_P): Delete definition. + (OPTION_VALID_P): Define. + + * sim-options.c (sim_print_help): Allow short only options. + (sim_parse_args): Ditto. + (sim_args_command): Skip short only options. + (sim_parse_args): Allocate space for NUM_OPTS not just 256. Make + separate entries for short and long options in the HANDLERS and + ORIG_VAL tables. + (sim_parse_args): Disable argument permutation. + Wed Nov 5 13:40:31 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N): |