Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/gdb: fix gdb default version
@ 2026-08-19 16:24 Romain Naour via buildroot
  2026-08-19 16:24 ` [Buildroot] [PATCH] support/testing: remove TestGdbArc Romain Naour via buildroot
  2026-08-21 19:48 ` [Buildroot] [PATCH] package/gdb: fix gdb default version Julien Olivain via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Romain Naour via buildroot @ 2026-08-19 16:24 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

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 <romain.naour@smile.fr>
---
 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
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] support/testing: remove TestGdbArc
  2026-08-19 16:24 [Buildroot] [PATCH] package/gdb: fix gdb default version Romain Naour via buildroot
@ 2026-08-19 16:24 ` Romain Naour via buildroot
  2026-08-21 19:48   ` Julien Olivain via buildroot
  2026-08-21 19:48 ` [Buildroot] [PATCH] package/gdb: fix gdb default version Julien Olivain via buildroot
  1 sibling, 1 reply; 4+ messages in thread
From: Romain Naour via buildroot @ 2026-08-19 16:24 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

The Arc specific gdb version was removed by commit [1]
but we still have the TestGdbArc that was testing this
version of gdb.

We can now safely remove TestGdbArc.

[1] 0b3d526226662af8b16525aecec7da5ff0e5fa1d

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 support/testing/tests/package/test_gdb.py | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/support/testing/tests/package/test_gdb.py b/support/testing/tests/package/test_gdb.py
index 324052efdb..78395b1847 100644
--- a/support/testing/tests/package/test_gdb.py
+++ b/support/testing/tests/package/test_gdb.py
@@ -89,19 +89,3 @@ class TestGdbFullTarget(BaseGdb):
     def test_run(self):
         self.boot()
         self.verify_gdb()
-
-
-class TestGdbArc(BaseGdb):
-    config = \
-        """
-        BR2_arcle=y
-        BR2_archs38=y
-        BR2_TOOLCHAIN_EXTERNAL=y
-        BR2_PACKAGE_HOST_GDB=y
-        BR2_PACKAGE_GDB=y
-        BR2_PACKAGE_GDB_SERVER=y
-        BR2_PACKAGE_GDB_DEBUGGER=y
-        """
-
-    def test_run(self):
-        self.verify_host_gdb("arc-linux")
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH] package/gdb: fix gdb default version
  2026-08-19 16:24 [Buildroot] [PATCH] package/gdb: fix gdb default version Romain Naour via buildroot
  2026-08-19 16:24 ` [Buildroot] [PATCH] support/testing: remove TestGdbArc Romain Naour via buildroot
@ 2026-08-21 19:48 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-21 19:48 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On 19/08/2026 18:24, Romain Naour via buildroot wrote:
> 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 <romain.naour@smile.fr>

Applied to master, thanks
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH] support/testing: remove TestGdbArc
  2026-08-19 16:24 ` [Buildroot] [PATCH] support/testing: remove TestGdbArc Romain Naour via buildroot
@ 2026-08-21 19:48   ` Julien Olivain via buildroot
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-21 19:48 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On 19/08/2026 18:24, Romain Naour via buildroot wrote:
> The Arc specific gdb version was removed by commit [1]
> but we still have the TestGdbArc that was testing this
> version of gdb.
> 
> We can now safely remove TestGdbArc.
> 
> [1] 0b3d526226662af8b16525aecec7da5ff0e5fa1d
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-21 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 16:24 [Buildroot] [PATCH] package/gdb: fix gdb default version Romain Naour via buildroot
2026-08-19 16:24 ` [Buildroot] [PATCH] support/testing: remove TestGdbArc Romain Naour via buildroot
2026-08-21 19:48   ` Julien Olivain via buildroot
2026-08-21 19:48 ` [Buildroot] [PATCH] package/gdb: fix gdb default version Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox