I have read and used the gdb on UML tutorials to debug kernel drivers. It works just fine. But I have not found anything to debug user space programs inside UML.  I am wondering if I want to debug  a user space program can i use gdb inside UML and maybe use mounted directories of the source code? Or should I run gdb from the outside? And if it is from the outside how can I trace my program only.


David Rodriguez