Skip to content

Commit bdf7355

Browse files
committed
build: enable gdb cross-architecture debugging
This enables support for when gdb is debugging a cross-architecture binary, most commonly from gdbserver (which comes from another architecture).
1 parent 35e514f commit bdf7355

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/compilation/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ function build_gdb() {
527527
>&2 fancy_title "Building gdb for $target_arch"
528528

529529
../configure --enable-static --with-static-standard-libraries --disable-inprocess-agent \
530+
--enable-targets=all \
530531
--enable-tui "$python_flag" \
531532
--with-expat --with-libexpat-type="static" \
532533
--with-gdb-datadir="/usr/share/gdb" --with-separate-debug-dir="/usr/lib/debug" \

0 commit comments

Comments
 (0)