aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-read-memory.c
blob: 7a87c6418568c8bd0c40e57bcb034b625de26b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ();
}