CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/10/17 13:23:09
Modified files:
sys/arch/amd64/amd64: db_trace.c
sys/arch/i386/i386: db_trace.c
Log message:
Simplify code that determines the number of arguments for a given function.
For amd64 this means removing db_numargs() and directly setting
narg to the correct value (instead of capping it during iteration).
On i386 rename db_numargs() to db_i386_numargs() and only call it
when we fail to get the correct number out of CTF.
discussed with an ok mpi@