Discrepancy between Python and Guile wrt exiting the interpreter

Eli Zaretskii eliz@gnu.org
Thu Jan 23 18:20:00 GMT 2020


> From: Pedro Alves <palves@redhat.com>
> Date: Thu, 23 Jan 2020 17:10:10 +0000
> 
> Note that these commands are not direct equivalents.  The guile equivalent
> to "pi" which is short for "python" would be "guile", or "gu", and with
> that command you get the same behavior as "pi", in the sense that ",q"
> doesn't bail you out, you have to type some command and finish with
> either Ctrl-D or Ctrl-C to abort.
> 
> "gr" is an alias for "guile-repl", and with that command, it's the Guile
> repl that implements the ",q", not GDB.  With the "python" and "guile"
> commands, it's GDB that implements the secondary prompt handling and
> command line reading (the ">", etc.).  Compare guile_repl_command and
> guile_command.

Thanks.

Is there a Python equivalent of "gr"?



More information about the Gdb-patches mailing list