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/18476] New: move the info/enable/disable command trio for python-based features into common code


https://sourceware.org/bugzilla/show_bug.cgi?id=18476

            Bug ID: 18476
           Summary: move the info/enable/disable command trio for
                    python-based features into common code
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com
  Target Milestone: ---

The code to implement the info/enable/disable command trio for python-based
features is currently replicated for each features. pretty-printers,
type-printers, xmethods, and so on.

This can lead to differences in command syntax and potentially inconsistent
behaviour across the different objects, which is unfortunate.

IWBN if they all shared the same basic framework to implement these commands.
See https://sourceware.org/ml/gdb-patches/2015-04/msg00006.html
for a prototype of how to do this for Guile.

-- 
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]