From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6127D3870856; Sun, 7 Jun 2020 16:38:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6127D3870856 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug cli/24860] Segfault on 'with' command with no argument Date: Sun, 07 Jun 2020 16:38:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 9.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status target_milestone resolution cc 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2020 16:38:09 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24860 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |9.1 Resolution|--- |FIXED CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- This was fixed by=20 commit 26c957f12762816a90d5145c7c527ca48c890855 Author: Pedro Alves Date: Wed Aug 21 21:11:33 2019 +0100 Fix nullptr in with_command_1 Running 'with' without arguments crashes GDB. This fixes it. gdb/ChangeLog: 2019-08-21 Bogdan Harjoc * cli/cli-cmds.c (with_command_1): Error out if no arguments. --=20 You are receiving this mail because: You are on the CC list for the bug.=