mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-03 15:07:59 +00:00

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.
21 lines
225 B
C
21 lines
225 B
C
static char bytes[256];
|
|
|
|
static short shorts[256];
|
|
|
|
static void
|
|
initialize (void)
|
|
{
|
|
int i;
|
|
for (i = 0; i < sizeof (bytes); i++)
|
|
{
|
|
bytes[i] = i;
|
|
shorts[i] = i * 2;
|
|
}
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
initialize ();
|
|
}
|