tags:

views:

12

answers:

1

I have device which is running linux with svga library for user interface. I tried to debug it by using GDB, but I got black screen when I initiated graphic by launching svga library. Any body knows how I can make it work? Thanks.

A: 

You should set up remote debugging.

Then you can run the GDB on your workstation, and still use svgalib UI on the target device.

Employed Russian
Thanks for your answer, I am using NetBeans under ubuntu 10.04. I can run GDBserver from my device, also get my GDB running on my workstation, but I can't catch the breaking point when program got launched. Do you know the reason? or any suggestions for this kind debugging. Thanks again for your additional response.
sunisland
It's hard to tell what might be going wrong without any additional info. You may want to update your question with detailed logs of your interaction with GDB on host and gdbserver on target.
Employed Russian