This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/18304] New: xmethod implementations should not have to test their enabled flag
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 22 Apr 2015 23:05:40 +0000
- Subject: [Bug python/18304] New: xmethod implementations should not have to test their enabled flag
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18304
Bug ID: 18304
Summary: xmethod implementations should not have to test their
enabled flag
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
I noticed in a couple of xmethod implementations the testing of the enabled
flag.
gdb should handle all of this.
Need to verify the current examples are unnecessary and remove them.
See: testsuite/gdb.python/py-xmethods.py, and xmethods.py in libstdc++.
[While xmethods *can* test the enabled flag if they *want* to, early
implementations serve as boilerplate and we don't want this code propagated.]
--
You are receiving this mail because:
You are on the CC list for the bug.