[Bug breakpoints/24687] New: FAIL: gdb.base/fullname.exp: set breakpoint by full path before/after loading symbols - built relative

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

[Bug breakpoints/24687] New: FAIL: gdb.base/fullname.exp: set breakpoint by full path before/after loading symbols - built relative

alahay01 at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24687

            Bug ID: 24687
           Summary: FAIL: gdb.base/fullname.exp: set breakpoint by full
                    path before/after loading symbols - built relative
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

This FAILs start at "Only compute realpath when basenames_may_differ is set":
...
FAIL: gdb.base/fullname.exp: set breakpoint by full path before loading symbols
- built relative
FAIL: gdb.base/fullname.exp: set breakpoint by full path after loading symbols
- built relative
...

First failure in more detail:
...
(gdb) file
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/fullname/fullname^M
Reading symbols from
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/fullname/fullname...^M
(gdb) break
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/fullname/tmp-fullname.c:21^M
No source file named
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.base/fullname/tmp-fullname.c.^M
Make breakpoint pending on future shared library load? (y or [n]) n^M
(gdb) FAIL: gdb.base/fullname.exp: set breakpoint by full path before loading
symbols - built relative
...

--
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/24687] FAIL: gdb.base/fullname.exp: set breakpoint by full path before/after loading symbols - built relative

alahay01 at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24687

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--
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/24687] FAIL: gdb.base/fullname.exp: set breakpoint by full path before/after loading symbols - built relative

alahay01 at gcc dot gnu.org
In reply to this post by alahay01 at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24687

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
It works fine here.
I wonder what the difference could be in our setups.

--
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/24687] FAIL: gdb.base/fullname.exp: set breakpoint by full path before/after loading symbols - built relative

alahay01 at gcc dot gnu.org
In reply to this post by alahay01 at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24687

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #1)
> It works fine here.
> I wonder what the difference could be in our setups.

I think I figured it out.

I've got this symlink:
...
$ ls -la /home/vries/gdb_versions
lrwxrwxrwx 1 vries users 18 26 jun  2018 /home/vries/gdb_versions ->
/data/gdb_versions
...

When I run:
...
$ pwd
/home/vries/gdb_versions/devel
$ ( cd build/gdb/; make check RUNTESTFLAGS=gdb.base/fullname.exp )
...
I see the FAILs.

But when I do:
...
$ cd $(pwd -P)
$ pwd
/data/gdb_versions/devel
$ ( cd build/gdb/; make check RUNTESTFLAGS=gdb.base/fullname.exp )
...
the FAILs are gone.

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