This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Discrepancy between Python and Guile wrt exiting the interpreter
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Sat, 18 Jan 2020 13:07:25 +0200
- Subject: Discrepancy between Python and Guile wrt exiting the interpreter
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.