Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Khoo Yit Phang <khooyp@cs.umd.edu>,
	       GDB Patches <gdb-patches@sourceware.org>
Subject: python-interactive, and quitting gdb pagination
Date: Thu, 23 Aug 2012 17:07:00 -0000	[thread overview]
Message-ID: <5036634E.6060202@redhat.com> (raw)

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


             reply	other threads:[~2012-08-23 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 17:07 Pedro Alves [this message]
2012-08-23 17:32 ` Khoo Yit Phang
2012-09-10 20:07   ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5036634E.6060202@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=khooyp@cs.umd.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox