cvs commit: src/sys/i386/i386 db_trace.c
Yar Tikhiy
yar at FreeBSD.org
Tue Aug 15 15:59:26 UTC 2006
yar 2006-08-15 15:59:26 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/i386/i386 db_trace.c
Log:
MFC rev. 1.71, 1.72:
Guess the number of arguments to a function somewhat better.
Now GCC likes to stick a "mov %eax, %FOO" instruction before
"addl $BAR, %esp" if the function just called returns an int,
which is a very common case in the kernel.
Return -1 from db_numargs() if number of args couldn't be guessed.
Use this later to indicate in backtrace output that args shown are
uncertain.
Revision Changes Path
1.66.2.2 +16 -8 src/sys/i386/i386/db_trace.c
More information about the cvs-src
mailing list