package/gdb: make gdb 9.2 the default version
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 28 Dec 2020 20:10:23 +0000 (21:10 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 29 Dec 2020 21:41:17 +0000 (22:41 +0100)
Now that we have added gdb 10.1, let's switch to using gdb 9.2 as the
default version.

Noe that there previously was a discrepancy between the default when a
host gdb was enabled, and when it was not: in the ofrmer case, the
default was 8.3.x, while for the latter it was 8.2.x. Now both are
aligned to 9.2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: add blurb about previous version discrepancy]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/gdb/Config.in.host

index 3abc4f7d236ad430505f8a83712e9acebbee165d..f4e1c6d9ba39806eb539406c1a2acbd08506b143 100644 (file)
@@ -63,7 +63,7 @@ config BR2_PACKAGE_HOST_GDB_SIM
 
 choice
        prompt "GDB debugger Version"
-       default BR2_GDB_VERSION_8_3
+       default BR2_GDB_VERSION_9_2
        depends on !BR2_arc
        depends on !BR2_csky
        help
@@ -90,8 +90,8 @@ config BR2_GDB_VERSION
        string
        default "arc-2020.09-release-gdb" if BR2_arc
        default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
-       default "8.2.1"    if BR2_GDB_VERSION_8_2 || !BR2_PACKAGE_HOST_GDB
+       default "8.2.1"    if BR2_GDB_VERSION_8_2
        default "8.3.1"    if BR2_GDB_VERSION_8_3
-       default "9.2"      if BR2_GDB_VERSION_9_2
+       default "9.2"      if BR2_GDB_VERSION_9_2 || !BR2_PACKAGE_HOST_GDB
        default "10.1"     if BR2_GDB_VERSION_10
        depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB