gdb: update gdb version to 12.1 from upstream tag 2022.11.3

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
This commit is contained in:
Andy Hu
2023-05-19 10:53:19 +08:00
parent 80ccfb9339
commit ff068cb477
12 changed files with 469 additions and 2 deletions
+11 -2
View File
@@ -61,7 +61,7 @@ config BR2_PACKAGE_HOST_GDB_SIM
choice
prompt "GDB debugger Version"
default BR2_GDB_VERSION_10
default BR2_GDB_VERSION_12
depends on !BR2_arc
depends on !BR2_csky
help
@@ -74,9 +74,16 @@ config BR2_GDB_VERSION_9_2
config BR2_GDB_VERSION_10
bool "gdb 10.x"
# gdbserver support missing
depends on !BR2_or1k
config BR2_GDB_VERSION_11
bool "gdb 11.x"
# gdbserver support missing
depends on !BR2_or1k
config BR2_GDB_VERSION_12
bool "gdb 12.x"
endchoice
@@ -88,8 +95,9 @@ config BR2_GDB_VERSION
default "arc-2020.09-release-gdb" if BR2_arc
default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
default "9.2" if BR2_GDB_VERSION_9_2
default "10.2" if BR2_GDB_VERSION_10 || !BR2_PACKAGE_HOST_GDB
default "10.2" if BR2_GDB_VERSION_10
default "11.1" if BR2_GDB_VERSION_11
default "12.1" if BR2_GDB_VERSION_12 || !BR2_PACKAGE_HOST_GDB
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
# recent gdb versions (>= 10) have gdbserver moved at the top-level,
@@ -99,5 +107,6 @@ config BR2_PACKAGE_GDB_TOPLEVEL
default y if BR2_arc
default y if BR2_GDB_VERSION_10
default y if BR2_GDB_VERSION_11
default y if BR2_GDB_VERSION_12
default y if !BR2_PACKAGE_HOST_GDB
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB