]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't put JIT_READER_DIR into help text
authorTom Tromey <tromey@adacore.com>
Wed, 13 Nov 2024 15:49:53 +0000 (08:49 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 21 Nov 2024 21:08:18 +0000 (14:08 -0700)
commit29e316d8b15f1f1874bb58d8cd8346629f4edcc4
treed7176c1d26d62c6c68676dc009a28052c375d2b0
parent978324718990b6b371d4eeeba02cfe13a0ebf120
Don't put JIT_READER_DIR into help text

The 80-column-help-string self-test can fail if gdb's install
directory is too long, because the help for "jit-reader-load" includes
JIT_READER_DIR.

This help text is actually somewhat misleading, though.
JIT_READER_DIR is not actually used directly -- instead the relocated
variant is used.

This patch adds a new "show jit-reader-directory" command and changes
the help text to refer to this instead.  I considered adding a "set"
command as well, but since absolute paths are acceptable here, and
since this is a very niche command anyway, I figured there was no need
to bother.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32357
Reviewed-By: Kévin Le Gouguec <legouguec@adacore.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/NEWS
gdb/doc/gdb.texinfo
gdb/jit.c
gdb/testsuite/gdb.base/jit-reader.exp