[Qt-creator] Cross-debugging Win-Linux

Patrick Masotta masottaus at yahoo.com
Sat Mar 5 08:33:38 CET 2011


Host: Vista; gdb.exe = Custom built MinGW gdb-7.2-1
Target: Linux; gdbserver=Ubuntu 8.04 GNU gdb 6.8-debian

1) I've been able to make things work compiling my own cross-debugging 
version of mingw32 gdb.exe, it would be very handy if you guys add to 
ftp://ftp.qt.nokia.com/misc/gdb/7.2/ the Win-Linux cross-debugging version 
w/Python.

2) when I launch a debug session GDB ends up looking for the source files at the working directory (always C:\Qt\qtcreator-2.1.81\) if the sources are not there I just get an assembler view; not source code. I solve the problem with a gdb command "cd <my_project_dir>" every time I run my target or now adding that line to the .gdbinit file, changing it every time I work on a different project. Can't you guys just pass that "change dir" gdb directive after launching gdb, changing the working directory to the current project directory?

3) qt-creator does not save the breakpoints to the project file, it would be very handy saving them, if not I have to reset breakpoints every time I start a new debugging session....


Last, "how do I do for being able to post at nntp.qt.nokia.com" and follow this conversation on my news reader ??

thanks
Pat



      



More information about the Qt-creator-old mailing list