This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/15637] New: override a command from Python
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 17 Jun 2013 14:03:25 +0000
- Subject: [Bug python/15637] New: override a command from Python
- Auto-submitted: auto-generated
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.