Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to get into ddb after system is booted?



On Tue, Jan 31, 2012 at 5:23 PM, Paul Goyette <paul%whooppee.com@localhost> 
wrote:
> On Tue, 31 Jan 2012, Eduardo Horvath wrote:
>
>> What sort of machine is this and what device is the console?  The cnmagic
>> code only works on the console input device if that device has the cnmagic
>> support hooks.
>
>
> It's amd64
>
>
>> wskbd.c currently does not support cnmagic.  Someone should probably add
>> that.  OTOH, someone should also change wscons so we don't translate from
>> USB keycodes to whatever we're using internally to what the X server
>> expects.  It's redundant and really complicates things like adding cnmagic
>> support.
>
>
> :)
>
> I infer from your comment that I'm not likely to be succesful with ddb.
>
>
> Since I really only need to update a single memory location (to enable some
> additional printf's), can this be done with gdb on the running machine?  Can
> I make gdb write to /dev/mem or /dev/kmem ?

Maybe crash can be used for this.


-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index