From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AEAA3858C35; Sat, 25 Nov 2023 18:33:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AEAA3858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1700937192; bh=VC9Fr42N9jA/mJmjJuA7qh0wWeDjmiROmtR++YhGcvQ=; h=From:To:Subject:Date:From; b=fqkZfeb/QWCdwGCIkLVBRC1lYkNJwK++EXiucQksBlLjrB78cNh1wONIlQKOQ/PVw yfoCVIEHLHPIZeY9Kj7EctLYQYj2V7WQPFtffurWcm+F6vUpVlcWyPqkXCQUuTeQJF xKJ4p4cHojNH40fZr/3uuVve1rtfFd8McExrfnqc= From: "giecrilj at stegny dot 2a.pl" To: gdb-prs@sourceware.org Subject: [Bug gdb/31088] New: gdb requires build directories to exist Date: Sat, 25 Nov 2023 18:33:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: giecrilj at stegny dot 2a.pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31088 Bug ID: 31088 Summary: gdb requires build directories to exist Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: giecrilj at stegny dot 2a.pl Target Milestone: --- Summary: gdb cannot move up a directory that does not exist in the source tree when looking for a source file. Steps to reproduce on Ubuntu 22.04: 1. { DEBUGINFOD_URLS=3D'https://debuginfod.ubuntu.com' && export DEBUGINFOD_URLS; } 2. set debuginfod enabled on 3. attach to a running yelp 3.1. debuginfod will download debuginfo and refuse to download source files 4. { cd "${HOME}/.cache/debuginfod_client/a4f415af56b06f1f38d5a0339dd9828ff136b115/= " && apt source libc6 && cd ../c74e800dfd5f72649d673b44292f4a817e45150b/ && apt source libglib2.0-0; } 5. dir ${HOME}/.cache/debuginfod_client/a4f415af56b06f1f38d5a0339dd9828ff136b115/g= libc-2.35 6. dir ${HOME}/.cache/debuginfod_client/c74e800dfd5f72649d673b44292f4a817e45150b/g= lib2.0-2.72.4 7. detach and attach 8. up Expected result: 4518 ret =3D (*poll_func) (fds, n_fds, timeout); Actual result: Continuing without source file ./debian/build/deb/../../../glib/gmain.c. 4518 ../../../glib/gmain.c: No such file. Work-around: { install -d "${HOME}/.cache/debuginfod_client/c74e800dfd5f72649d673b44292f4a817e45150b/= glib2.0-2.72.4/debian/build/deb"; } --=20 You are receiving this mail because: You are on the CC list for the bug.=