Annotation of 43BSDReno/contrib/emacs-18.55/gdb/testregs.c, revision 1.1

1.1     ! root        1: typedef struct aa { int b;} *hack;
        !             2: 
        !             3: static int
        !             4: foo (argc)
        !             5: {
        !             6:   register int a = 0x1234;
        !             7:   register int b = 0x56788765;
        !             8:   register char *x = (char *) 0xabababab;
        !             9:   register char *y = (char *) 0xcdcdcdcd;
        !            10:   register double d = 1.582;
        !            11:   int loser;
        !            12:   printf ("Address of loser is 0x%x.\n", &loser);
        !            13:   printf ("Address of argc is 0x%x.\n", &argc);
        !            14:   abort ();
        !            15: }
        !            16: 
        !            17: main (argc)
        !            18: {
        !            19:   foo (argc);
        !            20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.