public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/28536] New: Consider allowing adding a way to call the original gdb command from within a python command to wrap it
@ 2021-11-03 14:48 plasmahh at gmx dot net
  0 siblings, 0 replies; only message in thread
From: plasmahh at gmx dot net @ 2021-11-03 14:48 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-03 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 14:48 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).