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/18693] New: Cannot set up breakpoint when debug symbols present, but source files not exist


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]