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 breakpoints/12803] Regression: const/volatile method functionslinespec `break'


http://sourceware.org/bugzilla/show_bug.cgi?id=12803

--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-05-24 19:01:42 UTC ---
(In reply to comment #1)
> "break 'C::m() const'" does work, but you must "set lang c++" first.

But that still does not work for me, sorry for nodding it first.

(gdb) show language 
The current source language is "auto; currently c++".
(gdb) set language c++

tested with:
gcc-c++-4.6.0-7.fc15.x86_64
g++ (GCC) 4.7.0 20110524 (experimental)
g++ (GCC) 4.4.7 20110524 (prerelease)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]