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/12908] New: Method complete of gdb.Command is nevercalled


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

           Summary: Method complete of gdb.Command is never called
           Product: gdb
           Version: archer
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: krzykwas@gmail.com


Created attachment 5801
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5801
Implementation of channel-run command.

I want to customize completion of my own python-implemented gdb command. For
that I have followed the documentation and implemented a method âcompleteâ.
Upon being executed, that method should print âtestâ to stdout, however this
message never appears, so âcompleteâ is never called. I have attached the class
implementing the problematic command. Full code of my project is available in a
fossil repository here:
http://chiselapp.com/user/krzykwas/repository/nredebug1/home

To reproduce the failure:
1. run gdb
2. source /path/to/ChannelRun.py
3. enter âchannel-runâ and press <TAB>

Expected behaviour: message âtestâ appears.
Observed bahaviour: nothing happens.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]