Eliminate literal line numbers in mi-console.exp
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 28 Oct 2014 15:19:08 +0000 (15:19 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 13 Nov 2014 09:20:39 +0000 (10:20 +0100)
commitd1fbcd564ab192434686588b9ff0853e158afbfc
tree9000227568bc1f56401c2a43d9fda85028409b64
parentb0e59b8f1c5fecb1354de5664f50149ac964d98e
Eliminate literal line numbers in mi-console.exp

Remove the literal line number from a regexp in mi-console.exp.  Add
an appropriate eye-catcher to mi-console.c and refer to that instead.

gdb/testsuite/ChangeLog:

* gdb.mi/mi-console.c: Add eye-catcher.
* gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
instead of literal line number.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-console.c
gdb/testsuite/gdb.mi/mi-console.exp