From: Kevin M Corry <corryk@us...> - 2001-08-30 15:11:40
I have just gotten started using UML (version 0.46-2.4.9), and it seems
like it will be a great way to do the kernel-level debugging for my
project. I have gotten everything running, but I am having trouble getting
it started under the ddd debugger. I have followed the instructions in the
HOWTO exactly, but nothing seems to happen.
First, I start ddd, which in turn starts a gdb process. I use ps to find
the pid of the gdb process (e.g. 472).
Next, I start UML, and use the appropriate command line arguments to start
eth0=ethertap,tap0,,192.168.0.254 debug gdb-pid=472
Then I go back to ddd, and in the gdb window, type "att 1". At this point,
nothing happens, either in UML or in ddd. ddd displays the message "Att:
waiting until GDB gets ready". Also, when I do a ps at this point, the gdb
process is listed as defunct.
If I run UML with just the debug option (no gdb-pid), everything works
fine. It pops up an xterm with gdb running. So I know I have the right
kernel build options turned on.
I've looked through the recent mailing list archives, but haven't found
anything very pertinent. Is there something else I should try that isn't in