Commit 20b11960 authored by Joerg Bornemann's avatar Joerg Bornemann Committed by hjk
Browse files

Debugger: fix Qt namespace detection for gdb 7.4.1-debian

Change-Id: I379ff3dec051b22ffe313e6543020488550df97e
Reviewed-by: default avatarChristian Stenger <>
parent 52431d3d
......@@ -1500,6 +1500,14 @@ class Dumper(DumperBase):
# Seemingly needed with Debian's GDB 7.4.1
s = gdb.execute("ptype QByteArray", to_string=True)
ns = s[s.find("class")+6:s.find("QByteArray")]
if len(ns):
self.qtNamespaceToReport = ns
self.qtNamespace = lambda: ns
return ns
self.currentQtNamespaceGuess = ""
return ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment