[Bug python/23714] New: Command repetition stops working after gdb.execute

ossgoncalo at gmail dot com sourceware-bugzilla@sourceware.org
Tue Sep 25 19:20:00 GMT 2018


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

            Bug ID: 23714
           Summary: Command repetition stops working after gdb.execute
           Product: gdb
           Version: 8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: ossgoncalo at gmail dot com
  Target Milestone: ---

GDB Dashboard is an init configuration which provides a modular visual
interface for GDB using the Python scripting support. 

In order to get some information it needs, it may call gdb.execute(command,
to_string=True) (which implies from_tty=False). Some of the commands that cause
the dashboard to redraw (which, in turn, makes it call gdb.execute), cannot be
repeated by just entering an empty line. 

When disabling the components that call that function, the functionality is
restored.

A simpler reproduction is to enter "python gdb.execute('echo asd')" as a
command, and see that it is not repeated when entering empty lines. In prior
GDB versions, it will successfully print asd on each enter.

This bug was initially discussed here:
https://github.com/cyrus-and/gdb-dashboard/issues/128

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


More information about the Gdb-prs mailing list