[Qt-creator] Loading source files while debugging mingw app with gdb

Piotr Dobrogost pd at qtlists.qt.dobrogost.pl
Tue Mar 22 19:17:45 CET 2011


On 2011-03-12 19:58, Andre Poenitz wrote:

> Creator uses (more or less) what gdb tells it, and gdb uses (more or
> less) what information the compiler put into the debug information.

Is it? How then can we explain the fact that without any mappings of source files stdio_filebuf.h is found by debugger whereas fstream.tcc is not? Files are placed as follows:
C:\MinGw\4.4.0-qt\lib\gcc\mingw32\4.4.0\include\c++\ext\stdio_filebuf.h
c:\MinGW\4.4.0-qt\lib\gcc\mingw32\4.4.0\include\c++\bits\fstream.tcc

> In this case it looks like the C:
> bit is missing in some cases.

I think it's not c: that is missing. These paths are quite different than mine. As you noticed they are probably taken from the system where build of Qt version of MinGw was made.


-- 
Piotr Dobrogost

"Break C++ and the major implementations of Java and C# would also break" - Bjarne Stroustrup



More information about the Qt-creator-old mailing list