tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys

On Tue, Mar 10, 2009 at 02:45:02PM +0000, YAMAMOTO Takashi wrote:
> Log Message:
> - adapt to MODULAR.
> - some preparations to have more backends.
> - add some comments.

You are using PC_REGS() on struct trapframe, while it is defined to work
on db_regs_t, which is not the same on all archs.

/usr/src/sys/dev/tprof/tprof.c: In function 'tprof_sample':
/usr/src/sys/dev/tprof/tprof.c:412: error: 'const struct trapframe64' has no 
member named 'db_tf'

What is a good fix for that?


Home | Main Index | Thread Index | Old Index