[Buildroot] [git commit] package/gdb: fix gdb default version

Julien Olivain via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/7eb4a552c4037581144b1cbcce69daded51f24f1
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master

We need to select one of the 3 gdb versions available when host-gdb is
not selected but the condition was removed while removing gdb 14.x
in commit [1], so gdb package fail to download the archive.

Select BR2_GDB_VERSION_16 when !BR2_PACKAGE_HOST_GDB.

[1] 6737c90bc6f89cf0c702707933207dd7c5e3398a

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/15969219536 (TestGdbFullTarget)
https://gitlab.com/buildroot.org/buildroot/-/jobs/15969219539 (TestGdbserverOnly)

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
---
 package/gdb/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 93f174db99..2e1eed6f50 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -67,6 +67,6 @@ endif
 config BR2_GDB_VERSION
 	string
 	default "15.2"	   if BR2_GDB_VERSION_15
-	default "16.3"	   if BR2_GDB_VERSION_16
+	default "16.3"	   if BR2_GDB_VERSION_16 || !BR2_PACKAGE_HOST_GDB
 	default "17.1"	   if BR2_GDB_VERSION_17
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.