forked from qt-creator/qt-creator
Debugger: Fix Qt namespace detection for gdb8
Task-number: QTCREATORBUG-19620 Change-Id: Ieb7a8bc8cfeb8ba4331436ef6652437c0971c356 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1002,7 +1002,12 @@ class Dumper(DumperBase):
|
||||
try:
|
||||
symbols = gdb.execute(cmd, to_string = True)
|
||||
except:
|
||||
pass
|
||||
# command syntax depends on gdb version - below is gdb 8+
|
||||
cmd = 'maint print msymbols -objfile "%s" -- %s' % (objfile.filename, tmppath)
|
||||
try:
|
||||
symbols = gdb.execute(cmd, to_string = True)
|
||||
except:
|
||||
pass
|
||||
ns = ''
|
||||
with open(tmppath) as f:
|
||||
for line in f:
|
||||
|
Reference in New Issue
Block a user