I have been trying to patch a kernel variable in /netbsd (si_options) with gdb, to no avail. I finally found my problem: if you start gdb normally, and "set write on", it doesn't work. However, if you start gdb with "-write" on the command line, it does work. Now I feel much less stupid; like Han Solo, "it's not my fault!" Erik Fair