[Bug testsuite/27667] FAIL: gdb.mi/mi-sym-info.exp: List all functions from debug information only (timeout)

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Mar 30 15:04:51 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27667

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
This bisects to commit 0d79cdc494d "Add debuginfod support to GDB".

At commit:
...
$ time ./gdb.sh -batch -q ./mi-sym-info -ex start -ex "interpreter-exec mi
111-symbol-info-functions" >/dev/null; echo $?
warning: Source file is more recent than executable.

real    0m18.203s
user    0m5.050s
sys     0m0.127s
0
...

Before commit:
...
$ time ./gdb.sh -batch -q ./mi-sym-info -ex start -ex "interpreter-exec mi
111-symbol-info-functions" >/dev/null; echo $?
warning: Source file is more recent than executable.

real    0m4.607s
user    0m4.515s
sys     0m0.121s
0
...


Hmm, indeed I seem to have:
...
$ echo $DEBUGINFOD_URLS
https://debuginfod.opensuse.org/
...

I was only expecting this on tumbleweed, not on my leap 15.2 installation, but
my elfutils is from the Base:System development project:
...
$ zypper info elfutils

Information for package elfutils:
---------------------------------
Repository     : Base:System
Name           : elfutils
Version        : 0.183-lp152.189.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/Base:System
Installed Size : 2.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : elfutils-0.183-lp152.189.1.src
Summary        : Higher-level library to access ELF files
Description    : 
    elfutils is a collection of utilities and libraries to read, create
    and modify ELF binary files, find and handle DWARF debug data,
    symbols, thread state and stacktraces for processes and core files.
...
which explains how I got that setting.

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


More information about the Gdb-prs mailing list