mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-18 00:37:28 +08:00
gdb/python: fix 'set python ignore-environment' white space
I noticed that the help text for set/show python ignore-environment
was messed up, some lines had unwanted leading white space, like this:
(gdb) help set python ignore-environment
Set whether the Python interpreter should ignore environment variables.
When enabled GDB's Python interpreter will ignore any Python related
flags in the environment. This is equivalent to passing `-E' to a
python executable.
(gdb)
This has been present since the ignore-environment setting was added
in commit:
commit edeaceda7b
Date: Thu Aug 27 16:53:13 2020 +0100
gdb: startup commands to control Python extension language
Fixed in this commit.
This commit is contained in:
@@ -2434,10 +2434,10 @@ message == an error message without a stack will be printed."),
|
|||||||
|
|
||||||
add_setshow_boolean_cmd ("ignore-environment", no_class,
|
add_setshow_boolean_cmd ("ignore-environment", no_class,
|
||||||
&python_ignore_environment, _("\
|
&python_ignore_environment, _("\
|
||||||
Set whether the Python interpreter should ignore environment variables."), _(" \
|
Set whether the Python interpreter should ignore environment variables."), _("\
|
||||||
Show whether the Python interpreter showlist ignore environment variables."), _(" \
|
Show whether the Python interpreter showlist ignore environment variables."), _("\
|
||||||
When enabled GDB's Python interpreter will ignore any Python related\n \
|
When enabled GDB's Python interpreter will ignore any Python related\n\
|
||||||
flags in the environment. This is equivalent to passing `-E' to a\n \
|
flags in the environment. This is equivalent to passing `-E' to a\n\
|
||||||
python executable."),
|
python executable."),
|
||||||
set_python_ignore_environment,
|
set_python_ignore_environment,
|
||||||
show_python_ignore_environment,
|
show_python_ignore_environment,
|
||||||
|
|||||||
Reference in New Issue
Block a user