From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7259038515F1; Mon, 27 Feb 2023 23:21:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7259038515F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677540114; bh=AM+txuvFJwISKwyNOVLGygCEd54631TaRHH0XveH+nQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kCjrVm7DKeHcH+2WjTOzgR87opdBZTc/Y99OJdu91nvgSwCeE3Gc7rJsnMssi22Y4 6BDu+Jn/QoVNL7o4NciiuuNfQJRQGjAmXIj25QrYPyPbXvWjT08kfRbsjbwUkSyDhV pBBs5JYpSdRBCpR92qxdhN0YlGCmOSE8A5l2VxD8= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/26761] thread.c:95: internal-error: thread_info* inferior_thread(): Assertion `current_thread_ != nullptr' failed Date: Mon, 27 Feb 2023 23:21:54 +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: unknown 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: 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=3D26761 --- Comment #21 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Kevin Buettner : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D80d03917838c= 16ee0da53a4a8642d5df3bee724e commit 80d03917838c16ee0da53a4a8642d5df3bee724e Author: Kevin Buettner Date: Mon Feb 27 16:11:37 2023 -0700 Introduce set_force_quit_flag and change type of sync_quit_force_run At the moment, handle_sigterm() in event-top.c does the following: sync_quit_force_run =3D 1; set_quit_flag (); This was used several more times in a later patch in this series, so I'm introducing (at Pedro's suggestion) a new function named 'set_force_quit_flag'. It simply sets sync_quit_force_run and also calls set_quit_flag(). I've revised the later patch to call set_force_quit_flag instead. I noticed that sync_quit_force_run is declared as an int but is being used as a bool, so I also changed its type to bool in this commit. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D26761 Approved-By: Pedro Alves --=20 You are receiving this mail because: You are on the CC list for the bug.=