What is the best way to run a debugger to debug a directfb program?

One choice is to open an xterm into the machine supporting directfb, and 
run gdb in the xterm. If you can see the screen of the directfb machine, 
and the Xserver's screen you can efficiently debug.

What if you only have the directfb machine to work on?

If I run gdb on a directfb program directly on the machine with 
directfb, then as soon as directfb starts up, gdb loses control of the 
keyboard and screen (and then I need to actually kill the program via
an xterm). Is there a clever way to allow use of gdb directly on a 
machine running directfb?

Any ideas appreciated.

Regards
Colin Newell

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to