public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29587] New: [gdb/cli] Add maintenance command to poison certain commands
@ 2022-09-20 8:30 vries at gcc dot gnu.org
2022-12-06 16:42 ` [Bug gdb/29587] " tromey at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2022-09-20 8:30 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29587
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/29587] [gdb/cli] Add maintenance command to poison certain commands
2022-09-20 8:30 [Bug gdb/29587] New: [gdb/cli] Add maintenance command to poison certain commands vries at gcc dot gnu.org
@ 2022-12-06 16:42 ` tromey at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-12-06 16:42 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=29587
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This seems tricky for the case of "break *", because the
command is really just "break". Maybe for this one an
ad-hoc flag would be simpler.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-06 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 8:30 [Bug gdb/29587] New: [gdb/cli] Add maintenance command to poison certain commands vries at gcc dot gnu.org
2022-12-06 16:42 ` [Bug gdb/29587] " tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).