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

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---
A fail in gdb.cp/no-dmgl-verbose.exp is due to this PR.

break 'f(std::string)'^M
Function "f(std::string)" not defined.^M
(gdb) FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'

GDB can insert breakpoint if I add __cxx11 after std::, like this,

(gdb) b 'f(std::__cxx11::string)'
Breakpoint 1 at 0x8: file
/home/yaoqi01/SourceCode/gnu/build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.cp/no-dmgl-verbose.cc,
line 23.

Also, if I compile test case with -D_GLIBCXX_USE_CXX11_ABI=0, gdb works again,

-- 
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]