David S. Miller writes:
> Next I will look into getting the kgdb code functioning. And after
> that I will most likely try to get the generic kernel init'ing such
> that all the generic data structures and non-device code are setup and
> the kernel attempts to mount root (which it will not be able to). ;)
Please check with Mani Varadarajan (firstname.lastname@example.org) about kgdb.
He has used it with the DMS Moosehead system simulator, although in
that case the simulator acts as the target system monitor, instead of
having a program resident in memory with the kernel. I don't know if
he had to fix anything for the MIPS architecture; if he did, that
might save you some startup time.