Fix gdb debug script auto-load via explicit data&debug configuration
The problem was that our default gdb datadir and debugdir had non-standard paths, due to some unknown configuration detection. In order to fix it, we now pass the standard paths via the --with-gdb-datadir & --with-separate-debug-dir variables. I also set --with-jit-reader-dir, --with-system-gdbinit and --with-system-gdbinit-dir path to be the standard path as well.
This commit is contained in:
parent
a67de84e98
commit
0aef35466f
@ -442,6 +442,9 @@ function build_gdb() {
|
|||||||
../configure -C --enable-static --with-static-standard-libraries --disable-inprocess-agent \
|
../configure -C --enable-static --with-static-standard-libraries --disable-inprocess-agent \
|
||||||
--enable-tui "$python_flag" \
|
--enable-tui "$python_flag" \
|
||||||
--with-expat --with-libexpat-type="static" \
|
--with-expat --with-libexpat-type="static" \
|
||||||
|
--with-gdb-datadir="/usr/share/gdb" --with-separate-debug-dir="/usr/lib/debug" \
|
||||||
|
--with-system-gdbinit="/etc/gdb/gdbinit" --with-system-gdbinit-dir="/etc/gdb/gdbinit.d" \
|
||||||
|
--with-jit-reader-dir="/usr/lib/gdb" \
|
||||||
"--with-libiconv-prefix=$libiconv_prefix" --with-libiconv-type=static \
|
"--with-libiconv-prefix=$libiconv_prefix" --with-libiconv-type=static \
|
||||||
"--with-gmp=$libgmp_prefix" \
|
"--with-gmp=$libgmp_prefix" \
|
||||||
"--with-mpfr=$libmpfr_prefix" \
|
"--with-mpfr=$libmpfr_prefix" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user