From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9906E3858004; Sat, 14 Jan 2023 01:14:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9906E3858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673658848; bh=f7vtsAlqB9JOndzmOZzJe2x/G0kdNe1hQrEVtPdfJq0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kJRVDAF3e5SKuYOy64zbk1gYURVAhD+xuM1MPDvXb82wYai0r7zSYK/yEgjHW+40P ch8+OyN6aq2LCn78XYVgtkDpMcCguc7kwsfl5ThQC4wVcDLO/jL3pF2a0Sf12yT85x 2rdcnoHn/n5NuWJky4YD6R+1B7tk6cSH8FRg5r7A= From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29999] Bogus error message printed when debuginfod doesn't find source file Date: Sat, 14 Jan 2023 01:14:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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=3D29999 --- Comment #2 from Simon Marchi --- If possible, it would be nice to make internal GDB functions (like find_and_open_source) return error codes explicitly, instead of relying of errno. I think that will make the code clearer than saving and restoring errno. --=20 You are receiving this mail because: You are on the CC list for the bug.=