From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E62438582AB; Sat, 18 Feb 2023 00:06:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E62438582AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676678791; bh=K6AF8ysrPmc6IHfSOrknF5HDf9k3UV0LJi7MJoo/MMw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RRoSO5Oat5MQs2QFfn5xv2FwJtXhjGUnerdjwmSgVwGGY3O2y+QbJIt3lAPMDYtZr nRRSoxFORFCaKBVYiIGmUHtEf/j4BPF5uU+4y82FbFwPEZrn0Aiak0uhhkawxjuNnN MUGyDZQPLO5+7/mFQu0RDUn/n9gwGSb4ci9W7yUU= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug go/17876] internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed. Date: Sat, 18 Feb 2023 00:06:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: go X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey 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=3D17876 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De8eca7a6b602= 290bb3f50728432d524577ade727 commit e8eca7a6b602290bb3f50728432d524577ade727 Author: Tom Tromey Date: Thu Feb 16 17:52:07 2023 -0700 Fix crash in go_symbol_package_name go_symbol_package_name package name asserts that it is only passed a Go symbol, but this is not enforced by one caller. It seems simplest to just check and return early in this case. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17876 Reviewed-By: Andrew Burgess --=20 You are receiving this mail because: You are on the CC list for the bug.=