From 8b737e0c1dcd43a068d47579d87da95d21a4102c Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Wed, 1 Oct 2025 04:02:12 +0000 Subject: [PATCH] Install the latest gdb Signed-off-by: James Sturtevant --- Cross.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cross.toml b/Cross.toml index 7fa77eac0..da3c48089 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,9 +1,14 @@ [build] pre-build = [ - "apt-get update && apt-get -y install gdb" + "apt-get update && apt-get -y install wget build-essential libgmp-dev libmpfr-dev", + "cd /tmp && curl https://sourceware.org/pub/gdb/releases/gdb-16.3.tar.gz -o /tmp/gdb-16.3.tar.gz", + "cd /tmp && tar -xf gdb-16.3.tar.gz", + "cd /tmp/gdb-16.3 && ./configure --prefix=/usr/local", + "cd /tmp/gdb-16.3 && make -j$(nproc)", + "cd /tmp/gdb-16.3 && make install", ] [build.env] passthrough = [ "TARGET_TRIPLE", # Some tests invoke Cargo directly and need this to run correctly -] \ No newline at end of file +]