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/15637] New: override a command from Python


http://sourceware.org/bugzilla/show_bug.cgi?id=15637

            Bug ID: 15637
           Summary: override a command from Python
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

Right now if you write a command in Python that has the same name as
an existing command, there is no way to access the previous
command.  It would be handy if this were possible.

I have a partial patch for this; I'll upload or push it a
bit later.  Now your command's invoke method can use the super
'invoke' to access the previous command.

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