old-cross-binutils/gdb/testsuite/gdb.mi/mi-console.c
Andreas Arnez d1fbcd564a 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.
2014-11-13 10:20:39 +01:00

14 lines
167 B
C

void
hello ()
{
char *hello = "Hello \\\"!\r\n";
int i;
for (i = 0; hello[i]; i++)
write (1, hello + i, 1);
}
int
main ()
{
hello ();
} /* after-hello */