aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-04 05:08:26 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-04 05:08:26 -0500
commit8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f (patch)
tree63ee8b4214d5154200761718a5ca4e6e5484b5e2 /sim/testsuite
parent9bbf6f91c6e85ca916ec2c266009167f20f5ecfd (diff)
downloadgdb-8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f.zip
gdb-8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f.tar.gz
gdb-8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f.tar.bz2
sim: parse_args: polish getopt error message
The cris sim hit a few failures after the recent getopt logic, and the expected output showed a few ways we can improve things to better match other utils.
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/sim/cris/ChangeLog5
-rw-r--r--sim/testsuite/sim/cris/asm/opterr1.ms2
-rw-r--r--sim/testsuite/sim/cris/asm/opterr2.ms2
3 files changed, 7 insertions, 2 deletions
diff --git a/sim/testsuite/sim/cris/ChangeLog b/sim/testsuite/sim/cris/ChangeLog
index fa34863..76dcec5 100644
--- a/sim/testsuite/sim/cris/ChangeLog
+++ b/sim/testsuite/sim/cris/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-04 Mike Frysinger <vapier@gentoo.org>
+
+ * asm/opterr1.ms: Update expected output.
+ * asm/opterr2.ms: Likewise.
+
2015-12-25 Mike Frysinger <vapier@gentoo.org>
* asm/io1.ms: Update expected output.
diff --git a/sim/testsuite/sim/cris/asm/opterr1.ms b/sim/testsuite/sim/cris/asm/opterr1.ms
index 94118db..409f58b 100644
--- a/sim/testsuite/sim/cris/asm/opterr1.ms
+++ b/sim/testsuite/sim/cris/asm/opterr1.ms
@@ -1,5 +1,5 @@
# mach: crisv3 crisv8 crisv10 crisv32
# xerror:
-# output: *: unrecognized option [`']--cris-stats=xyz'\n
+# output: *: unrecognized option [`']--cris-stats=xyz'\nUse --help for a complete list of options.\n
# sim: --cris-stats=xyz
.include "nopv32t.ms"
diff --git a/sim/testsuite/sim/cris/asm/opterr2.ms b/sim/testsuite/sim/cris/asm/opterr2.ms
index 129ad1d..084d61e 100644
--- a/sim/testsuite/sim/cris/asm/opterr2.ms
+++ b/sim/testsuite/sim/cris/asm/opterr2.ms
@@ -1,5 +1,5 @@
# mach: crisv3 crisv8 crisv10 crisv32
# xerror:
-# output: *: unrecognized option [`']--cris-xyz'\n
+# output: *: unrecognized option [`']--cris-xyz'\nUse --help for a complete list of options.\n
# sim: --cris-xyz
.include "nopv32t.ms"