From kdevelop-bugs Tue Jan 30 15:15:25 2007 From: Frederic Heem Date: Tue, 30 Jan 2007 15:15:25 +0000 To: kdevelop-bugs Subject: [Bug 140891] mi_cmd_var_create gdb: unable to create variable object Message-Id: <20070130151525.24673.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306963712094 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=140891 ------- Additional Comments From f.heem free fr 2007-01-30 16:15 ------- The application is compiled with -g, is that enough or -g3 -OO is necessary ? The problem seems to be related to c++ template (gdb) -var-create KDEV31 * "CodecInfo" ^done,name="KDEV31",numchild="1",type="class {...} [1]" (gdb) print /x &__ioinit print /x &__ioinit $24 = 0x14011c8 ^done (gdb) -var-create KDEV32 * "__ioinit" ^done,name="KDEV32",numchild="1",type="std::ios_base::Init" (gdb) print /x &typeinfo for LineI print /x &typeinfo for LineI A syntax error in expression, near `for LineI'. ^error,msg="A syntax error in expression, near `for LineI'." (gdb) -var-create KDEV33 * "typeinfo for LineI" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for LineImplVpb print /x &typeinfo name for LineImplVpb A syntax error in expression, near `name for LineImplVpb'. ^error,msg="A syntax error in expression, near `name for LineImplVpb'." (gdb) -var-create KDEV34 * "typeinfo name for LineImplVpb" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for LineFxoImpl print /x &typeinfo for LineFxoImpl A syntax error in expression, near `for LineFxoImpl'. ^error,msg="A syntax error in expression, near `for LineFxoImpl'." (gdb) -var-create KDEV35 * "typeinfo for LineFxoImpl" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for LineFxoI print /x &typeinfo for LineFxoI A syntax error in expression, near `for LineFxoI'. ^error,msg="A syntax error in expression, near `for LineFxoI'." (gdb) -var-create KDEV36 * "typeinfo for LineFxoI" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for PBaseArray print /x &typeinfo name for PBaseArray A syntax error in expression, near `name for PBaseArray'. ^error,msg="A syntax error in expression, near `name for PBaseArray'." (gdb) -var-create KDEV37 * "typeinfo name for PBaseArray" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for VpbException print /x &typeinfo for VpbException A syntax error in expression, near `for VpbException'. ^error,msg="A syntax error in expression, near `for VpbException'." (gdb) -var-create KDEV38 * "typeinfo for VpbException" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for VpbException print /x &typeinfo name for VpbException A syntax error in expression, near `name for VpbException'. ^error,msg="A syntax error in expression, near `name for VpbException'." (gdb) -var-create KDEV39 * "typeinfo name for VpbException" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &boost::date_time::date_facet > >::id print /x &boost::date_time::date_facet > >::id No type "date_facet > >" within class or namespace "boost::date_time". ^error,msg="No type \"date_facet > >\" within class or namespace \"boost::date_time\"." (gdb) -var-create KDEV40 * "boost::date_time::date_facet > >::id" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for LineFxoImpl print /x &typeinfo name for LineFxoImpl A syntax error in expression, near `name for LineFxoImpl'. ^error,msg="A syntax error in expression, near `name for LineFxoImpl'." (gdb) -var-create KDEV41 * "typeinfo name for LineFxoImpl" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for PBaseArray print /x &typeinfo for PBaseArray A syntax error in expression, near `for PBaseArray'. ^error,msg="A syntax error in expression, near `for PBaseArray'." (gdb) -var-create KDEV42 * "typeinfo for PBaseArray" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for PBaseArray print /x &typeinfo for PBaseArray A syntax error in expression, near `for PBaseArray'. ^error,msg="A syntax error in expression, near `for PBaseArray'." (gdb) -var-create KDEV43 * "typeinfo for PBaseArray" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for PList print /x &typeinfo name for PList A syntax error in expression, near `name for PList'. ^error,msg="A syntax error in expression, near `name for PList'." (gdb) -var-create KDEV44 * "typeinfo name for PList" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &guard variable for boost::date_time::date_facet > >::id print /x &guard variable for boost::date_time::date_facet > >::id No symbol "guard" in current context. ^error,msg="No symbol \"guard\" in current context." (gdb) -var-create KDEV45 * "guard variable for boost::date_time::date_facet > >::id" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for LineFxoI print /x &typeinfo name for LineFxoI A syntax error in expression, near `name for LineFxoI'. ^error,msg="A syntax error in expression, near `name for LineFxoI'." (gdb) -var-create KDEV46 * "typeinfo name for LineFxoI" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for PList print /x &typeinfo for PList A syntax error in expression, near `for PList'. ^error,msg="A syntax error in expression, near `for PList'." (gdb) -var-create KDEV47 * "typeinfo for PList" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for LineI print /x &typeinfo name for LineI A syntax error in expression, near `name for LineI'. ^error,msg="A syntax error in expression, near `name for LineI'." (gdb) -var-create KDEV48 * "typeinfo name for LineI" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for PBaseArray print /x &typeinfo name for PBaseArray A syntax error in expression, near `name for PBaseArray'. ^error,msg="A syntax error in expression, near `name for PBaseArray'." (gdb) -var-create KDEV49 * "typeinfo name for PBaseArray" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for LineImplVpb print /x &typeinfo for LineImplVpb A syntax error in expression, near `for LineImplVpb'. ^error,msg="A syntax error in expression, near `for LineImplVpb'." (gdb) -var-create KDEV50 * "typeinfo for LineImplVpb" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for LineFxoImplVpb print /x &typeinfo name for LineFxoImplVpb A syntax error in expression, near `name for LineFxoImplVpb'. ^error,msg="A syntax error in expression, near `name for LineFxoImplVpb'." (gdb) -var-create KDEV51 * "typeinfo name for LineFxoImplVpb" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for PSortedList print /x &typeinfo for PSortedList A syntax error in expression, near `for PSortedList'. ^error,msg="A syntax error in expression, near `for PSortedList'." (gdb) -var-create KDEV52 * "typeinfo for PSortedList" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo name for PSortedList print /x &typeinfo name for PSortedList A syntax error in expression, near `name for PSortedList'. ^error,msg="A syntax error in expression, near `name for PSortedList'." (gdb) -var-create KDEV53 * "typeinfo name for PSortedList" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &typeinfo for LineFxoImplVpb print /x &typeinfo for LineFxoImplVpb A syntax error in expression, near `for LineFxoImplVpb'. ^error,msg="A syntax error in expression, near `for LineFxoImplVpb'." (gdb) -var-create KDEV54 * "typeinfo for LineFxoImplVpb" mi_cmd_var_create: unable to create variable object ^error,msg="mi_cmd_var_create: unable to create variable object" (gdb) print /x &CodecInfo print /x &CodecInfo $25 = 0x13fca80 ^done (gdb) whatis CodecInfo whatis CodecInfo