aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-console.c
blob: 5ca046f52d45a51ae389fa5af03ad139c58ea860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <unistd.h>

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 */