This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]