diff options
author | phk <phk@FreeBSD.org> | 2004-01-19 21:27:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-01-19 21:27:11 +0000 |
commit | 6a1db39d2c38b34647c41618a3e9bd22ebb5171a (patch) | |
tree | a0623147901e142942da35531b97b56eaa91b4db /sys/alpha | |
parent | 996a053df7fa476718ad69ea506a440a20469c4f (diff) | |
download | FreeBSD-src-6a1db39d2c38b34647c41618a3e9bd22ebb5171a.zip FreeBSD-src-6a1db39d2c38b34647c41618a3e9bd22ebb5171a.tar.gz |
Add linenumber and source filename to panic(9) output.
Ideally a traceback should be printed too, any takers ?
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/support.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/alpha/alpha/support.s b/sys/alpha/alpha/support.s index a340d75..0d485f2 100644 --- a/sys/alpha/alpha/support.s +++ b/sys/alpha/alpha/support.s @@ -680,8 +680,10 @@ LEAF(longjmp, 1) longjmp_botch: lda a0, longjmp_botchmsg - mov ra, a1 - CALL(panic) + mov 0, a1 + mov 0, a2 + mov ra, a3 + CALL(__panic) call_pal PAL_bugchk .data |