aboutsummaryrefslogtreecommitdiff
path: root/gdb/test2.c
blob: e6964f0e8f23759975ef85a7d7833490298ee87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/param.h>
#include <sys/dir.h>
#include <sys/user.h>
#include <stdio.h>

main ()
{
  struct user u;
  printf ("&u.u_ar0 - &u = %d, 0%o\n", (int) &u.u_ar0 - (int) &u,
	  (int) &u.u_ar0 - (int) &u);
  printf ("sizeof (struct pcb) = %d, 0%o\n",
	  sizeof (struct pcb), sizeof (struct pcb));
}