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, 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


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 ?

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index