Date: Thu, 3 Apr 1997 11:16:53 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: Gary.Jennejohn@munich.netsurf.de Cc: pmchen@eecs.umich.edu, freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: writing to kernel global variables with gdb Message-ID: <199704030146.LAA05672@genesis.atrad.adelaide.edu.au> In-Reply-To: <199704022236.WAA01626@peedub.gj.org> from Gary Jennejohn at "Apr 2, 97 10:36:08 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Jennejohn stands accused of saying:
> "Peter M. Chen" writes:
> >Hi Gary,
> > Joerg referred me to you as the maintainer for kgdb. I am using
> >"gdb -w -k kernel.debug /dev/mem" to try to change a global variable on a
> >running kernel (which Joerg thought should work), but I get
> >"kvm_write:write failed". This is true even when I run as root.
> >
> > Any ideas?
> >
>
> it turns out that there's already a "w" option ("use windows")
> defined in main.c. There's no code which makes use of it.
This code is part of gdbtk, which is also why gdb understands -nw
(like emacs).
> Gary Jennejohn
--
]] Mike Smith, Software Engineer msmith@gsoft.com.au [[
]] Genesis Software genesis@gsoft.com.au [[
]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[
]] realtime instrument control. (ph) +61-8-8267-3493 [[
]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704030146.LAA05672>
