|
A copy-paste regarding X method. But I don't know a way without X, and
with one machine. If u come to know, plz post it :-) ----------- Use XJust for the sake of development, DirectFB actually provides an X backend. In that mode, an X window is the directfb screen, and all directfb display goes to that X window. That is convenient, because
Using the X backendIf you did not build directfb with --enable-x11 option, you need to rebuild it with that option(the option is given to configure script). Then, in the /etc/directfbrc file, you need to add a new line: system=x11Then you can run the same directfb application from X For performance analysis, and final testing, I would recommend using virtual console, and not X, because thats the way directfb will finally work... Colin Newell wrote: 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 |
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
