]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Call gdbpy_fix_doc_string_indentation for function help
authorTom Tromey <tromey@adacore.com>
Fri, 31 May 2024 16:13:17 +0000 (10:13 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 11 Nov 2024 14:44:27 +0000 (07:44 -0700)
commitbf0a21777530ff364a7f30a79e1fd3616e5a6c7e
tree6a949e64252fc0219ee6d097f08e83ad556d552e
parent218ee1660d139d945c8517775a4813107a174664
Call gdbpy_fix_doc_string_indentation for function help

If you invoke "help function _caller_is", you'll see that the help
text is indented strangely.  The fix for this is to add a call to
gdbpy_fix_doc_string_indentation in the appropriate spot, as is
already done for Python commands and parameters.
gdb/python/py-function.c