This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19436] C++11 ABI tag does not work


https://sourceware.org/bugzilla/show_bug.cgi?id=19436

ghjghj530-bubu at yahoo dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghjghj530-bubu at yahoo dot de

--- Comment #2 from ghjghj530-bubu at yahoo dot de ---
Still a problem in GCC 6.3, GDB 7.10

-> With -D_GLIBCXX_USE_CXX11_ABI=1

(gdb) p fooVar
p fooVar
No symbol "fooVar" in current context.
(gdb) info variables
...
std::__cxx11::string fooVar[abi:cxx11];
....
(gdb) p 'fooVar[abi:cxx11]'
p 'fooVar[abi:cxx11]'
$2 = "hello world"


-> With -D_GLIBCXX_USE_CXX11_ABI=0

(gdb) p fooVar
p fooVar
$2 = "hello world"


Any chance somebody can have a look at this? thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]