Title: Samsung Enterprise Portal mySingle
It is easy if you have a second machine or just another video card and monitor on the same machine. In debugging using another machine, telnet to the machine running directfb, and do debugging from that session. Run the directfb program, and from the other machine/monitor, start gdb and attach to the running directfb process. Depending on ur application and debugging requirement, you may have to make ur program wait initially using someting like getchar....

Attaching:

gdb program pid

gdb-prompt> c



------- Original Message -------
Sender : kaka<[EMAIL PROTECTED]>
Date : Aug 02, 2007 19:04
Title : [directfb-users] Debugging directFB code using gdb

Hi All,
  

While debugging DirectFB code(using a test application) using gdb debugger on matrox card, the debugger is getting in to the unrespondable state.

The screen is going

We want to debug how it is finding and loading the gfxdriver for matrox card(dfb_gfxcard_find_driver and dfb_gfxcard_find_driver functions)

  

Can somebody please throw some light on it?

Thanks in advance.

 

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

Reply via email to