Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 1997 20:51:17 +0100 (MET)
From:      cracauer@wavehh.hanse.de (Martin Cracauer)
To:        freebsd-emulation@freebsd.org
Subject:   How to use DEBUg with linux_mod.o
Message-ID:  <9701231951.AA00559@wavehh.hanse.de>

index | next in thread | raw e-mail

Hm, I think I overlook something obvious, but I can't bring the linux
module to output the #ifdef DEBUG stuff.

I defined -DDEBUG in src/lkm/linux/Makefile, remake linux_mod,o,
copied it to /lkm, made a new kernel and rebooted. I still don't see
the debug messages. I am able to use ktrace on Linux binaries, but the
Linux emulator is silent.

I use `strings` to verify that /lkm/linux_mod.o has in fact the
#ifdef'ed DEBUG stuff inside.

Any hints? Maybe it works only from inside the kernel, not as a lkm?

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>
http://cracauer.cons.org
Fax +49 40 522 85 36 


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701231951.AA00559>