Fix mi_expect_stop for non-zero exit codes
authorSimon Marchi <simon.marchi@ericsson.com>
Tue, 13 May 2014 21:07:33 +0000 (17:07 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 15 May 2014 19:41:36 +0000 (15:41 -0400)
commit3deb39c62d3cdb80ac3bdd4d418e05737433e7a6
tree67c8030d33d5881f525fe1639bf8b8c5934e6837
parent5fe7ffdc98b769de3ea67e6f38bc5de57be7b265
Fix mi_expect_stop for non-zero exit codes

The message displayed by gdb is different when the inferior exits with
zero and non-zero values, this fix takes that into account.

gdb/testsuite/ChangeLog:
2014-05-13  Simon Marchi  <simon.marchi@ericsson.com>

* lib/mi-support.exp (mi_expect_stop): Expect message for
inferiors that exit with non-zero exit code.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp