Subject: Re: gdb on Netbsd 2.0
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: netbsd-help
Date: 04/04/2005 08:48:51
In article <200504041240.33462.aflott-netbsd@gmx.de>,
Alexander Flott  <aflott-netbsd@gmx.de> wrote:
>> I was wondering if anyone has had any hassles with gdb on netbsd 2.
>>
>
>I can't change the rtc offset anymore (kern.rtc_offset) via gdb!
>On <2.0 I could do:
>gdb --write /netbsd
>(gdb) set rtc_offset=-60
>(gdb) quit
>
>Now I get "Memory fault (core dumped)" on "quit".

You need to say:

target kcore /dev/mem

christos