Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pedro Alves <palves@redhat.com>
Cc: simark@simark.ca, gdb-patches@sourceware.org
Subject: Re: Discrepancy between Python and Guile wrt exiting the interpreter
Date: Fri, 24 Jan 2020 10:26:00 -0000	[thread overview]
Message-ID: <83o8uts5jt.fsf@gnu.org> (raw)
In-Reply-To: <d1d2ac0d-45a2-34e5-9109-567ca9d93f1b@redhat.com> (message from	Pedro Alves on Thu, 23 Jan 2020 17:36:28 +0000)

> From: Pedro Alves <palves@redhat.com>
> Date: Thu, 23 Jan 2020 17:36:28 +0000
> 
> And I have to add -- wow, "quit()" exiting gdb is really nasty
> in that case.  It's even suggested if you try "quit" without
> parens:
> 
>  >>> quit
>  Use quit() or Ctrl-D (i.e. EOF) to exit
> 
> Clearly the embedded use case wasn't considered here.  I think
> this should be reported to Python upstream.

How does one do that?

And btw, while I have your attention: an Emacs user reported a problem
whereby he couldn't find a way of exiting the "pi" invoked from the
GDB session started by "M-x gdb" (which uses GDB/MI) in Emacs.  See
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39140.  I proposed a
solution to that in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39140#8,
which seems to work for me, but that user said it didn't help on his
system.  Does that patch work for others here, or is it the GNU/Linux
system I used to test (fencepost.gnu.org, btw) which is the odd one
out?

P.S. As you might guess, that bug report was the trigger for my
question here.

Thanks.


  reply	other threads:[~2020-01-24  7:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18 14:46 Eli Zaretskii
2020-01-19 16:11 ` Simon Marchi
2020-01-19 16:42   ` Eli Zaretskii
2020-01-19 17:20     ` Simon Marchi
2020-01-19 19:13       ` Eli Zaretskii
2020-01-21 19:53         ` Tom Tromey
2020-01-21 19:57           ` Eli Zaretskii
2020-01-23 17:21 ` Pedro Alves
2020-01-23 17:37   ` Simon Marchi
2020-01-23 17:50     ` Pedro Alves
2020-01-23 17:39       ` Pedro Alves
2020-01-24 10:26         ` Eli Zaretskii [this message]
2020-01-23 18:20   ` Eli Zaretskii
2020-01-23 18:30     ` Pedro Alves
2020-01-23 18:46       ` Eli Zaretskii

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=83o8uts5jt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=simark@simark.ca \
    /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