aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-console.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-10-28 15:19:08 +0000
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-11-13 10:20:39 +0100
commitd1fbcd564ab192434686588b9ff0853e158afbfc (patch)
tree9000227568bc1f56401c2a43d9fda85028409b64 /gdb/testsuite/gdb.mi/mi-console.c
parentb0e59b8f1c5fecb1354de5664f50149ac964d98e (diff)
downloadgdb-d1fbcd564ab192434686588b9ff0853e158afbfc.zip
gdb-d1fbcd564ab192434686588b9ff0853e158afbfc.tar.gz
gdb-d1fbcd564ab192434686588b9ff0853e158afbfc.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-console.c')
-rw-r--r--gdb/testsuite/gdb.mi/mi-console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-console.c b/gdb/testsuite/gdb.mi/mi-console.c
index ffed9f0..0cd2243 100644
--- a/gdb/testsuite/gdb.mi/mi-console.c
+++ b/gdb/testsuite/gdb.mi/mi-console.c
@@ -11,4 +11,4 @@ int
main ()
{
hello ();
-}
+} /* after-hello */