Date: Sat, 15 Jun 1996 15:12:31 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: rishim@teil.soft.net (Rishi Gautam) Subject: Re: Need Information Message-ID: <199606151312.PAA02635@uriah.heep.sax.de> In-Reply-To: <9606142253.AA01353@teil.soft.net> from Rishi Gautam at "Jun 14, 96 02:53:08 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Rishi Gautam wrote: > How do i create a new kernel global variables? int new_variable; somewhere in a kernel source file. > How do set those variables from user prcocess? You don't. They are kernel variables. (Actually, you can hack through the kernel via /dev/mem, but it's not recommendable.) The regular access to the kernel from a user program is via a system call, so the kernel can maintain control. You might consider the sysctl library function as well. > How do I enable the kernel debugger in the FreeBSD? Do I need to options DDB in the kernel config file. > install some packeage or do I have to recompile the kernel with setting > some kernel configuration variable? You should read the section about kernel debugging in the handbook. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606151312.PAA02635>