mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
fb40c20903
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
27 lines
201 B
C
27 lines
201 B
C
foo (void)
|
|
{
|
|
int i, x, y, z;
|
|
|
|
x = 0;
|
|
y = 1;
|
|
i = 0;
|
|
|
|
while (i < 2)
|
|
i++;
|
|
|
|
x = i;
|
|
y = 2 * x;
|
|
z = x + y;
|
|
y = x + z;
|
|
x = 9;
|
|
y = 10;
|
|
}
|
|
|
|
main ()
|
|
{
|
|
int a = 1;
|
|
foo ();
|
|
a += 2;
|
|
return 0;
|
|
}
|