binutils-gdb/sim
Joel Brobecker 11eef9ed35 ppc sim: Improve invalid option error message
This patch improves the error message when an invalid option is
detected, by also printing the option that actually caused the error.
For instance, from GDB:

        (gdb) target sim --hello
        Invalid option: --hello
        Usage:
        [...]

We also added the usage after an invalid long-name option (Eg: --hello)
to be in line with what's being done for all other invalid options
being detected.

sim/ppc/ChangeLog:

        * psim.c (psim_options): Add option that cause the error
        in invalid-option error messages. Print the usage when
        detecting an invalid long-name option.
2011-06-08 16:44:28 +00:00
..
arm sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
avr sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
bfin sim: bfin: add support for glued SIC interrupt lines 2011-06-04 17:18:04 +00:00
common sim: fix minor --sysroot mem leak 2011-05-27 18:05:16 +00:00
cr16 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cris run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
d10v run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
erc32 Add `sim_complete_command' definition to erc32 sim 2011-06-01 17:35:02 +00:00
frv run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
h8300 http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html 2011-01-11 14:19:34 +00:00
igen sim: punt zfree() 2011-02-14 05:14:28 +00:00
iq2000 sim: punt zfree() 2011-02-14 05:14:28 +00:00
lm32 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
m32c sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
m32r run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
m68hc11 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
mcore run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
microblaze sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
mips sim: punt zfree() 2011-02-14 05:14:28 +00:00
mn10300 http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html 2011-01-11 14:19:34 +00:00
moxie run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc ppc sim: Improve invalid option error message 2011-06-08 16:44:28 +00:00
rx sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
sh sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
sh64 sim: punt zfree() 2011-02-14 05:14:28 +00:00
testsuite sim: bfin: add missing gitignore file 2011-06-05 21:32:34 +00:00
v850 * simops (OP_10007E0): Update errno handling as most traps 2011-03-21 22:05:56 +00:00
.gitignore sim: ignore generated hw-config.h 2011-01-05 17:17:44 +00:00
ChangeLog sim: bfin: import testsuite 2011-06-04 17:44:22 +00:00
configure sim: bfin: import testsuite 2011-06-04 17:44:22 +00:00
configure.ac sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
configure.tgt sim: bfin: import testsuite 2011-06-04 17:44:22 +00:00
MAINTAINERS sim: bfin: new port 2011-03-06 00:20:21 +00:00
Makefile.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
README-HACKING sim: add more hacking notes 2010-04-12 21:44:46 +00:00