Subject: Patching kernel with GDB
To: None <current-users@NetBSD.ORG>
From: Manuel BOUYER <firstname.lastname@example.org>
Date: 10/30/1997 10:10:57
with the old gdb, it was possible to change the value of a statically
initialised globale variable in an executable with gdb, whith the command
'gdb --write <binary>' and then 'set variable=value'.
How to do this with the new gdb ? --write is not accepted anymore, and
'set variable=value' complains about unaccessible address. I didn't find
anything in the man page or in 'help'.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr