Exemple #1
0
static void
crash(char *err, Header m, const char *file, int line)
{
	char buf[256];

	snprintf(buf, sizeof(buf), "Err found at %s:%d in block from %s:%d", file, line, m->b->file, m->b->line);
	crash2(buf);				/* Makes above easy to read from dbx 'where'.   */
}
Exemple #2
0
static void crash3 () { crash2 (); }
Exemple #3
0
__attribute__((noinline)) static int crash(int a) {
    a = crash2(a) + 1;
    return a*2;
}
Exemple #4
0
noinline int crash(int a) {
    a = crash2(a) + 1;
    return a*2;
}