From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D7423858CDA; Wed, 29 May 2024 15:57:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D7423858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1716998265; bh=J8tfeS/Oiznz1+4wetSQq8/q0I95RQ9QEJE0/sGfdtM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Y7f1Stg/s47yZSxZ8juAye7ekO3bmxr1KVvqNoF6Svf7rcPydDx42OosKsIJpXNO2 26fvhmA87cR/noVOfzAfyGqm8HsowWnn/qJunVALo5+0ns+VBbrdU+RSBLMzAJZYZH UX1T3R4ROP512gmhC9RbmKXfeTMrzLzqqDme9RZ8= From: "arthur.huillet+sourcewarebz at free dot fr" To: gdb-prs@sourceware.org Subject: [Bug cli/30913] The "flash-erase" command is too easy to use accidentally Date: Wed, 29 May 2024 15:57:44 +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: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur.huillet+sourcewarebz at free dot fr 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30913 Arthur Huillet changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.huillet+sourcewarebz | |@free.fr --- Comment #1 from Arthur Huillet --- I wanted to note that I just bricked a device that way, attempting to dump = its flash. I was expecting "flash" to give me a list of subcommands, not immediately a= nd without confirmation to erase the flash. > show confirm Whether to confirm potentially dangerous operations is on. Yet no confirmation was asked before erasing my flash. This seems like one = of the most "potentially dangerous" operations, worth a confirmation request... arm-none-eabi-gdb GNU gdb (GDB) 14.2 --=20 You are receiving this mail because: You are on the CC list for the bug.=