public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/18693] New: Cannot set up breakpoint when debug symbols present, but source files not exist
@ 2015-07-20 10:38 mittorn at sibmail dot com
  0 siblings, 0 replies; only message in thread
From: mittorn at sibmail dot com @ 2015-07-20 10:38 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18693
           Summary: Cannot set up breakpoint when debug symbols present,
                    but source files not exist
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: mittorn at sibmail dot com
  Target Milestone: ---

I'm trying to make breakpoint in c++ library, which is closed-source, but has
debug data.
After library loaded, when i trying to make breakpoint, it says that function
is not defined, but print command prints address of function.
When i'm using rbreak with filename from dwarf data, it lists functions, but
cannot find any.
For example:

(gdb) print '(anonymous namespace)::FooDefaultSliderSignal::mouseWheeled(int,
vgui::Panel*)'
$4 = {void ((anonymous namespace)::FooDefaultSliderSignal * const, int, 
    vgui::Panel *)} 0xf2cec010 <(anonymous
namespace)::FooDefaultSliderSignal::mouseWheeled(int, vgui::Panel*)>
(gdb) break '(anonymous namespace)::FooDefaultSliderSignal::mouseWheeled(int,
vgui::Panel*)'
Function "(anonymous namespace)::FooDefaultSliderSignal::mouseWheeled(int,
vgui::Panel*)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
Sometimes after restaritng gdb break work correctly.

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-20 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 10:38 [Bug breakpoints/18693] New: Cannot set up breakpoint when debug symbols present, but source files not exist mittorn at sibmail 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).