11eef9ed35
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. |
||
---|---|---|
.. | ||
arm | ||
avr | ||
bfin | ||
common | ||
cr16 | ||
cris | ||
d10v | ||
erc32 | ||
frv | ||
h8300 | ||
igen | ||
iq2000 | ||
lm32 | ||
m32c | ||
m32r | ||
m68hc11 | ||
mcore | ||
microblaze | ||
mips | ||
mn10300 | ||
moxie | ||
ppc | ||
rx | ||
sh | ||
sh64 | ||
testsuite | ||
v850 | ||
.gitignore | ||
ChangeLog | ||
configure | ||
configure.ac | ||
configure.tgt | ||
MAINTAINERS | ||
Makefile.in | ||
README-HACKING |