Subject: Re: bin/5533: gdb -w is broken.
To: None <mrg@eterna.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 06/03/1998 08:26:56
On 3 Jun 1998 11:25:58 -0000
mrg@eterna.com.au wrote:
> gdb -w is not able to change values of variables in a kernel.
> i used to use `gdb -k -w /netbsd' to do this, but there is no
> `-k' to gdb anymore, and you can't do `target kcore' with no
> core file :(
If you just want to patch the executable:
gdb
set write
target exec /netbsd
set securelevel=-1
quit
It's just a matter of knowing the standard GDB commands (the old GDB we
used to have had a lot of `custom' additions).
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 428 6939