4 Created: Jan 19, 1993 by Philip Homburg
6 Copyright 1995 Philip Homburg
12 typedef unsigned int reg_t
;
14 extern reg_t
get_bp(void);
16 void util_stacktrace(void)
25 hbp
= ((reg_t
*)bp
)[0];
26 printf("0x%lx ", (unsigned long) pc
);
27 if (hbp
!= 0 && hbp
<= bp
)
29 printf("0x%lx ", (unsigned long) -1);
35 #endif /* USE_SYSDEBUG */