[Bug python/28536] New: Consider allowing adding a way to call the original gdb command from within a python command to wrap it

plasmahh at gmx dot net sourceware-bugzilla@sourceware.org
Wed Nov 3 14:48:00 GMT 2021


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

            Bug ID: 28536
           Summary: Consider allowing adding a way to call the original
                    gdb command from within a python command to wrap it
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: plasmahh at gmx dot net
  Target Milestone: ---

Sometimes it would be nice to add just a little bit functionality to an
existing command by wrapping it. One can already register a command under the
name of an existing command, but there is no way to then call the original
command, as the name now refers to the python gdb.Command.

Maybe an easy solution would be to have a special prefix that negates lookup of
python commands?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list