This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/18304] New: xmethod implementations should not have to test their enabled flag


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]