public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/18088] New: Allow setting breakpoints on unqualified symbols
@ 2015-03-06 20:42 jrmuizel at gmail dot com
  2015-03-06 23:24 ` [Bug breakpoints/18088] " keiths at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jrmuizel at gmail dot com @ 2015-03-06 20:42 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18088
           Summary: Allow setting breakpoints on unqualified symbols
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: jrmuizel at gmail dot com

For example, given a symbol like 'SomeNamespace::SomeClass::SomeMethod' being
able to just use 'SomeMethod' and have the breakpoint set on all matches.

lldb has this behaviour by default and it makes using lldb a pleasure to use.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug breakpoints/18088] Allow setting breakpoints on unqualified symbols
  2015-03-06 20:42 [Bug breakpoints/18088] New: Allow setting breakpoints on unqualified symbols jrmuizel at gmail dot com
@ 2015-03-06 23:24 ` keiths at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: keiths at redhat dot com @ 2015-03-06 23:24 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-06 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06 20:42 [Bug breakpoints/18088] New: Allow setting breakpoints on unqualified symbols jrmuizel at gmail dot com
2015-03-06 23:24 ` [Bug breakpoints/18088] " keiths at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).