Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] cross-platform development: problem with connection to gdbserver

I am working on Red Hat Linux on an x86 as my developent platform and using Eclipse M8 with CDT m8. I am developing C code for an embedded application. I have been able to successfully use CDT to debug my program as long as it is compiled using the native gcc compiler -- both running gdb directly and connecting to gdbserver on localhost. However, when I use my cross-compiler to build the binary for my target platform (ppc) and try setting up debugging using gdbserver for that platform, CDT seems unable to run. As soon as I compile my code using the cross-compiler, when I got into the "Debugger" tab, the "Debugger" drop-down list becomes blank and I can't debug the application. I have been able to debug my program at the command line by starting gdbserver on my target platform and running the version of gdb compiled for that target (gdb-powerpc-linux) to connect to the server. Any help would be greatly appreciated. I am very impressed with Eclipse and CDT and would really like to be able to use it, especially with online debugging.

Thanks in advance,

Vladimir




Back to the top