From: Jeff Dike <jdike@ka...> - 2001-06-19 21:46:52
This is a small batch.
Mostly, it adds some stuff to the mconsole.
Ping is gone, replaced by version.
There are now config and remove commands, which are intended to implement
hot-pluggable hardware. The only thing that's pluggable at the moment is gdb.
So, 'config gdb=xterm' will fire up gdb in an xterm, and 'config gdb=pid,<pid>
' will use <pid> as the external debugger.
This was done to make it possible to switch between a normal UML kernel
debugger and an external one, like the one used by gdbbot, which has also been
gdbbot is in /tool/gdbbot. It is an IRC bot which allows people in an IRC
channel to control a UML gdb through an IRC client. This is intended to let
me look at crashes that other people are seeing rather than having to figure
out the problem from an uninformative stack posted to one of the lists.
To use it, you 'perl gdbbot.pl' (after installing whatever perl packages it
wants) get the pid of the gdb that it forks off, and pass that as the argument
to 'gdb-pid=' on the command line or the 'config gdb=pid,' in the mconsole.
It will join #umltest on opn as gdbbot, where it will send to gdb any commands
prefixed with 'gdbbot:'.
This is a first implementation, and it's rife with security holes, and things
that should be generalized. These will be fixed at some point.
So, if you have a UML crash or hang, and you think that I ought to look at it,
keep it around, and send mail so we can organize a time to look at it.