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/18088] Allow setting breakpoints on unqualified symbols


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

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keiths at redhat dot com

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
A quick workaround... You can use the rbreak command to do this today:

(gdb) rb ::a_function
Breakpoint 1 at 0x401bba: file ../../../src/gdb/testsuite/gdb.cp/cpexprs.cc,
line 280.
void base1::a_function() const;
Breakpoint 2 at 0x401bec: file ../../../src/gdb/testsuite/gdb.cp/cpexprs.cc,
line 292.
void base2::a_function() const;
Breakpoint 3 at 0x401d10: file ../../../src/gdb/testsuite/gdb.cp/cpexprs.cc,
line 301.
void derived::a_function() const;

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