]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/python: fix 'set python ignore-environment' white space
authorAndrew Burgess <aburgess@redhat.com>
Sat, 10 Feb 2024 17:50:24 +0000 (17:50 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Sat, 10 Feb 2024 17:54:10 +0000 (17:54 +0000)
commit4eba08320bbcc6fcb42d08fc27ac0ea8247255e5
tree0797728bea4a9396551a3b792db1eb4f910268a0
parente81fb24f1c5374479d3af0930c140df0021221ae
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 edeaceda7b2f33b2c3bf78c732e67f3188e7f0b9
  Date:   Thu Aug 27 16:53:13 2020 +0100

      gdb: startup commands to control Python extension language

Fixed in this commit.
gdb/python/python.c