aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2022-09-29 08:23:41 +0200
committerGitHub <noreply@github.com>2022-09-29 14:23:41 +0800
commitb2f50de3b766c34ac166688e2586f9a2e974dbce (patch)
treee4204b984cc4dfe4207bbe822b5c209580ddd5ef
parent26afe70416f6aa004ae1b36655a49d79e376f6e2 (diff)
downloadriscv-gnu-toolchain-b2f50de3b766c34ac166688e2586f9a2e974dbce.zip
riscv-gnu-toolchain-b2f50de3b766c34ac166688e2586f9a2e974dbce.tar.gz
riscv-gnu-toolchain-b2f50de3b766c34ac166688e2586f9a2e974dbce.tar.bz2
gdb: Bump GDB version to 12.1 (#1132)
GDB still defaults to 10.1 from the (already archived) riscv-binutils-gdb repo. Let's bump the version to 12.1 and use the upstream git repo instead. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
-rw-r--r--.gitmodules8
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
m---------gdb0
m---------riscv-gdb0
5 files changed, 6 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules
index 6594e48..75ebce2 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -17,10 +17,10 @@
path = newlib
url = https://sourceware.org/git/newlib-cygwin.git
branch = master
-[submodule "riscv-gdb"]
- path = riscv-gdb
- url = https://github.com/riscv-collab/riscv-binutils-gdb.git
- branch = fsf-gdb-10.1-with-sim
+[submodule "gdb"]
+ path = gdb
+ url = https://sourceware.org/git/binutils-gdb.git
+ branch = gdb-12-branch
[submodule "qemu"]
path = qemu
url = https://gitlab.com/qemu-project/qemu.git
diff --git a/configure b/configure
index e148a8f..6b73555 100755
--- a/configure
+++ b/configure
@@ -3667,7 +3667,7 @@ fi
with_gdb_src=$with_gdb_src
else
- with_gdb_src="\$(srcdir)/riscv-gdb"
+ with_gdb_src="\$(srcdir)/gdb"
fi
diff --git a/configure.ac b/configure.ac
index f2464d1..16178c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,7 +240,7 @@ AX_ARG_WITH_SRC(binutils, binutils)
AX_ARG_WITH_SRC(newlib, newlib)
AX_ARG_WITH_SRC(glibc, glibc)
AX_ARG_WITH_SRC(musl, musl)
-AX_ARG_WITH_SRC(gdb, riscv-gdb)
+AX_ARG_WITH_SRC(gdb, gdb)
AX_ARG_WITH_SRC(qemu, qemu)
AX_ARG_WITH_SRC(spike, spike)
AX_ARG_WITH_SRC(pk, pk)
diff --git a/gdb b/gdb
new file mode 160000
+Subproject e53a8e8685685c97588f8319d993ea6cd5635e4
diff --git a/riscv-gdb b/riscv-gdb
deleted file mode 160000
-Subproject 5da071ef0965b8054310d8dde9975037b046731