From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20DE63858D28; Tue, 20 Sep 2022 08:30:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20DE63858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663662619; bh=AObdQbYnZ3s+ZsRLMW/hBY3qeEfXGioQQJywLAop0x0=; h=From:To:Subject:Date:From; b=XwxEW0VXSStDpQ/GvFO7lXamy8HOv971Klhawxq9pM1JK82EF/Dx8tzG5PXspToB3 vjF+00IbR3RWXvQqenM2OzEn6BHUlUZBIOhp67bXIARUpBFUGt3u7PK1FXVxQlGOEj lwh6F4Y6XxXPJiHdUA58XlMahqBoKW/2c92s8ocw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29587] New: [gdb/cli] Add maintenance command to poison certain commands Date: Tue, 20 Sep 2022 08:30:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: vries 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D29587 Bug ID: 29587 Summary: [gdb/cli] Add maintenance command to poison certain commands Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- There was a discussion related to commit 52b920c5d20 ("[gdb/testsuite] Fix gdb.dwarf2/dw2-dir-file-name.exp for ppc64le") that the test-case shouldn't= use break *function, and actually the entire testsuite, because on powerpc that= can lead to trouble with the local/global entrypoint, and breakpoints not triggering when you expect them to. If we'd have a command, say: ... (gdb) maint poision "break *" ... then we could add this to the normal gdb testsuite starting commands, to prevent this construct slipping in accidentally. Then only test-cases that actually intend to test that construct should de-poison the command at the start of the test-case. --=20 You are receiving this mail because: You are on the CC list for the bug.=