diff mbox series

[2/4] package/gdb: switch to gdb 14.x as the default

Message ID 20240711222021.1553363-2-thomas.petazzoni@bootlin.com
State Accepted
Headers show
Series [1/4] package/gdb: add support for GDB 15.1 | expand

Commit Message

Thomas Petazzoni July 11, 2024, 10:20 p.m. UTC
Now that we have introduced support for gdb 15.x, switch to gdb 14.x
as the default version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/gdb/Config.in.host | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Romain Naour July 13, 2024, 3:51 p.m. UTC | #1
Hello Thomas,

Le 12/07/2024 à 00:20, Thomas Petazzoni via buildroot a écrit :
> Now that we have introduced support for gdb 15.x, switch to gdb 14.x
> as the default version.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  package/gdb/Config.in.host | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
> index cf2a1e4f1f..586001cd3b 100644
> --- a/package/gdb/Config.in.host
> +++ b/package/gdb/Config.in.host
> @@ -41,7 +41,7 @@ config BR2_PACKAGE_HOST_GDB_SIM
>  
>  choice
>  	prompt "GDB debugger Version"
> -	default BR2_GDB_VERSION_13
> +	default BR2_GDB_VERSION_14
>  	depends on !BR2_arc
>  	help
>  	  Select the version of gdb you wish to use.
> @@ -72,9 +72,9 @@ config BR2_GDB_VERSION
>  	string
>  	default "arc-2023.09-release" if BR2_arc
>  	default "12.1"     if BR2_GDB_VERSION_12
> -	default "13.2"     if BR2_GDB_VERSION_13 || !BR2_PACKAGE_HOST_GDB
> +	default "13.2"     if BR2_GDB_VERSION_13
>  	# When making 14.x the default, or 14.x becomes the oldest version,
>  	# be sure to update the target variant to properly select mpfr.

Applied to master after fixing mpfr dependency for the target variant, thanks.

Best regards,
Romain


> -	default "14.2"     if BR2_GDB_VERSION_14
> +	default "14.2"     if BR2_GDB_VERSION_14 || !BR2_PACKAGE_HOST_GDB
>  	default "15.1"	   if BR2_GDB_VERSION_15
>  	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
diff mbox series

Patch

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index cf2a1e4f1f..586001cd3b 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -41,7 +41,7 @@  config BR2_PACKAGE_HOST_GDB_SIM
 
 choice
 	prompt "GDB debugger Version"
-	default BR2_GDB_VERSION_13
+	default BR2_GDB_VERSION_14
 	depends on !BR2_arc
 	help
 	  Select the version of gdb you wish to use.
@@ -72,9 +72,9 @@  config BR2_GDB_VERSION
 	string
 	default "arc-2023.09-release" if BR2_arc
 	default "12.1"     if BR2_GDB_VERSION_12
-	default "13.2"     if BR2_GDB_VERSION_13 || !BR2_PACKAGE_HOST_GDB
+	default "13.2"     if BR2_GDB_VERSION_13
 	# When making 14.x the default, or 14.x becomes the oldest version,
 	# be sure to update the target variant to properly select mpfr.
-	default "14.2"     if BR2_GDB_VERSION_14
+	default "14.2"     if BR2_GDB_VERSION_14 || !BR2_PACKAGE_HOST_GDB
 	default "15.1"	   if BR2_GDB_VERSION_15
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB