diff options
author | Thomas Otto <totto@zbh.uni-hamburg.de> | 2014-07-24 11:56:40 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-29 16:23:15 +0200 |
commit | bd3366d8b54dfc5a3530ce3b8a00ff240dbe2e77 (patch) | |
tree | b54fb2c71a4a39870505c054e6dc5e703dd1a0b5 /src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | |
parent | 3e830a781f7f5e86aa4c275b608f064dcb1a2481 (diff) | |
download | qt-creator-bd3366d8b54dfc5a3530ce3b8a00ff240dbe2e77.tar.gz |
CoreGdbAdapter: improve finding the exe from a core file
- added a function which tries to find the executable belonging
to a core file if the extracted path does not exist
- tries to find binaries with a relative path
- tires to remove commandline arguments, since the core
file does not store which part is the exe name (which can
contain spaces), and which are arguments
loading /QT/core which was created by "/QT/bin/exec w.." by calling
"./bin/exec with spaces" arg1 arg2 now finds the binary
==== will be split into a separate commit, included to show the
second use of the new function
LoadCoreDialog: change when ExecFilename is set from core
- only set the name if the exe exists
- if it does not exist and the previous entry does not either
then insert what was extracted from the corefile
Change-Id: I4a9846761c91ed976f3ba38a7dc756fc30ed179c
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp')
0 files changed, 0 insertions, 0 deletions