Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.12.0
-
None
-
-
5467faa0d7916674403480724d44341555c16102
Description
Using Debug > Load Core File specifying a symbol file instead of the executable with debug symbols is not working.
The symbol file seems fine since it is working if imported manually within gdb using symbol-file /path/to/program.debug and it was generated with
objcopy --only-keep-debug program program.debug
Looking at the source code it seems that the file is loaded unconditionally with -file-exec-and-symbols instead of -file-symbol-file.
Attachments
For Gerrit Dashboard: QTCREATORBUG-24541 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
316869,2 | Debugger: Use -file-symbol-file for core files with GDB | 4.14 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
329126,9 | Debugger: Add -file-exec-file when opening a core dump | 4.14 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |