10 void have_a_very_merry_interrupt (void);
15 foo (); /* Put a breakpoint on foo() and call it to see a dummy frame */
18 have_a_very_merry_interrupt ();
30 *(char *)0 = 0; /* try to cause a segfault */
32 /* On MMU-less system, previous memory access to address zero doesn't
33 trigger a SIGSEGV. Trigger a SIGILL. Each arch should define its
34 own illegal instruction here. */
36 asm(".word 0xf8f00000");
37 #elif defined(__TMS320C6X__)
38 asm(".word 0x56454313");
50 /* The first statement in subroutine () is a place for a breakpoint.
51 Without it, the breakpoint is put on the while comparison and will
52 be hit at each iteration. */
63 have_a_very_merry_interrupt (void)
65 signal (SIGALRM
, handler
);
67 sleep (2); /* We'll receive that signal while sleeping */
This page took 0.032383 seconds and 4 git commands to generate.