[Bug breakpoints/24915] New: paths for breakpoints are not resolved

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug breakpoints/24915] New: paths for breakpoints are not resolved

adhemerval.zanella at linaro dot org
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.
Reply | Threaded
Open this post in threaded view
|

[Bug breakpoints/24915] paths for breakpoints are not resolved

adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24915

Jonah Graham <jonah at kichwacoders dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonah at kichwacoders dot com

--- Comment #1 from Jonah Graham <jonah at kichwacoders dot com> ---
I wrote a new test that passes in older GDBs and fails in current master at:
https://sourceware.org/ml/gdb-patches/2019-08/msg00421.html

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