This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/18693] New: Cannot set up breakpoint when debug symbols present, but source files not exist
- From: "mittorn at sibmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 20 Jul 2015 10:38:06 +0000
- Subject: [Bug breakpoints/18693] New: Cannot set up breakpoint when debug symbols present, but source files not exist
- Auto-submitted: auto-generated
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.