mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
Document how to return from "python-interactive" to GDB.
* doc/gdb.texinfo (Python Commands): Update documentation. * python/python.c (_initialize_python): Update documentation.
This commit is contained in:
@ -1277,7 +1277,10 @@ _initialize_python (void)
|
||||
python_interactive_command,
|
||||
#ifdef HAVE_PYTHON
|
||||
_("\
|
||||
Start a Python interactive prompt.\n\
|
||||
Start an interactive Python prompt.\n\
|
||||
\n\
|
||||
To return to GDB, type the EOF character (e.g., Ctrl-D on an empty\n\
|
||||
prompt).\n\
|
||||
\n\
|
||||
Alternatively, a single-line Python command can be given as an\n\
|
||||
argument, and if the command is an expression, the result will be\n\
|
||||
|
Reference in New Issue
Block a user