Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Discrepancy between Python and Guile wrt exiting the interpreter
@ 2020-01-18 14:46 Eli Zaretskii
  2020-01-19 16:11 ` Simon Marchi
  2020-01-23 17:21 ` Pedro Alves
  0 siblings, 2 replies; 15+ messages in thread
From: Eli Zaretskii @ 2020-01-18 14:46 UTC (permalink / raw)
  To: gdb-patches

If you invoke the Guile interpreter from GDB:

  (gdb) gr

then typing ,q followed by Enter exits the Guile interpreter back to
GDB.  However, if the Python interpreter is started:

  (gdb) pi

then typing quit() and Enter exits GDB, not just the Python
interpreter.  Why do these two interpreters behave differently in this
context?  Is there some other Python command to exit the interpreter?
(I know about Ctrl-D, but I'm asking about commands.)

Thanks.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-01-24  7:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-18 14:46 Discrepancy between Python and Guile wrt exiting the interpreter 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
2020-01-23 18:20   ` Eli Zaretskii
2020-01-23 18:30     ` Pedro Alves
2020-01-23 18:46       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox