Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: Exiting from Python and Guile interpreters
Date: Wed, 16 Dec 2015 11:34:00 -0000	[thread overview]
Message-ID: <83mvta1v9u.fsf@gnu.org> (raw)
In-Reply-To: <20151216111608.GA17950@host1.jankratochvil.net> (message from	Jan Kratochvil on Wed, 16 Dec 2015 12:16:08 +0100)

> Date: Wed, 16 Dec 2015 12:16:08 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb@sourceware.org
> 
> On Wed, 16 Dec 2015 11:53:10 +0100, Eli Zaretskii wrote:
> >   . to exit Python, one should type the EOF character, Ctrl-D on Unix,
> >     Ctrl-Z on Windows
> > 
> >   . typing "quit()" at Python prompt exits the debugger
> 
> In Fedora 23 build it is the same.
> 
> 
> >   . to exit Guile, one should type ",q" or ",quit"
> > 
> >   . typing the EOF character at Guile prompt exits the debugger
> 
> In Fedora 23 build both methods return to the GDB prompt.

Thanks.

So what do you think about making "quit()" in Python return to GDB
instead of exiting to shell?


      reply	other threads:[~2015-12-16 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16 10:52 Eli Zaretskii
2015-12-16 11:16 ` Jan Kratochvil
2015-12-16 11:34   ` Eli Zaretskii [this message]

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=83mvta1v9u.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /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