[Bug breakpoints/24915] New: paths for breakpoints are not resolved
nolange79 at gmail dot com
sourceware-bugzilla@sourceware.org
Mon Aug 19 10:16:00 GMT 2019
https://sourceware.org/bugzilla/show_bug.cgi?id=24915
Bug ID: 24915
Summary: paths for breakpoints are not resolved
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: nolange79 at gmail dot com
Target Milestone: ---
Created attachment 11952
--> https://sourceware.org/bugzilla/attachment.cgi?id=11952&action=edit
small testcase for reproducing the issue
Hello,
there seems to be an regression when it comes to resolving paths for setting
breakpoints.
I can reproduce the issue on 8.3.50.20190629-git and 8.3.50.20190813-git, while
8.2.1 and 8.3 are not affected.
I set this to critical as this makes gdb practically unusable with IDEs.
Unpack to /tmp/testcase
Build and start gdb
cd /tmp/testcase/build
make
gdb testcase
try setting an absolute breakpoint
(gdb) b /tmp/testcase/libUniverse.c:5
No source file named /tmp/testcase/libUniverse.c.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) b /tmp/testcase/testcase.c:5
No source file named /tmp/testcase/testcase.c.
Make breakpoint pending on future shared library load? (y or [n]) n
What does work:
(gdb) b /tmp/testcase/build/../libUniverse.c:5
Breakpoint 1 at 0x117b: file ../libUniverse.c, line 5.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list