https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:8ae4a838bc0f5796369d982330acacf7a8fa7eab

commit r15-4941-g8ae4a838bc0f5796369d982330acacf7a8fa7eab
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Nov 5 06:22:00 2024 +0800

    simulate-thread tests: Silence gdb debuginfod warning

    When gdb defaults to use debuginfod, gdb warns simulate-thread tests:

    spawn gdb -nx -nw -batch -x
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
./atomic-load-int.exe
    Breakpoint 1 at 0x4005cc: file
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.dg/simulate-thread/atomic-load-int.c,
line 97.

    This GDB supports auto-downloading debuginfo from the following URLs:
      <https://debuginfod.fedoraproject.org/>
    Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
    Debuginfod has been disabled.
    To make this setting permanent, add 'set debuginfod enabled off' to
.gdbinit.

    Silence gdb warning by setting DEBUGINFOD_URLS to "" and restore it if
    it exists.

            PR testsuite/117300
            * g++.dg/simulate-thread/simulate-thread.exp: Set DEBUGINFOD_URLS
            to "" and restore it if it exists.
            * gcc.dg/simulate-thread/simulate-thread.exp: Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to