This is the mail archive of the gdb-patches@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]

python-interactive, and quitting gdb pagination


FYI, I just tried playing with this a little, and stumbled on:

(gdb) python-interactive
>>> help (gdb)
Help on package gdb:
...
...
...
        TypeIterator
        Value
    exceptions.Exception(exceptions.BaseException)
        GdbError
---Type <return> to continue, or q <return> to quit---q
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site.py", line 471, in __call__
    return pydoc.help(*args, **kwds)
  File "/usr/lib64/python2.7/pydoc.py", line 1744, in __call__
    self.help(request)
  File "/usr/lib64/python2.7/pydoc.py", line 1791, in help
    else: doc(request, 'Help on %s:')
  File "/usr/lib64/python2.7/pydoc.py", line 1528, in doc
    pager(render_doc(thing, title, forceload))
  File "/usr/lib64/python2.7/pydoc.py", line 1432, in plainpager
    sys.stdout.write(plain(text))
  File "<string>", line 13, in write
KeyboardInterrupt: Quit
>>>

That traceback surprised me, but maybe it's expected.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]