gdb: don't block building on AArch64 systems
PATCH 1/1 gdb: don't block building on AArch64 systems
There is no real reason to disable the building of GDB. I suspect the original patch (be084204) which added the restriction did so not realising that AArch64 has had thread support in it's toolchain for some time.
--- package/gdb/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/gdb/Config.in +2 -2
@@ -1,5 +1,5 @@ comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" - depends on !BR2_aarch64 && !BR2_nios2 + depends on !BR2_nios2 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG config BR2_PACKAGE_GDB
@@ -10,7 +10,7 @@ config BR2_PACKAGE_GDB select BR2_PACKAGE_GDB_SERVER if \ (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY) depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG - depends on !BR2_aarch64 && !BR2_nios2 + depends on !BR2_nios2 help GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or
Signature · 1 line
2.0.4
PATCH 1/1 gdb: don't block building on AArch64 systems
Dear Alex Benn?e,
Quoted 4 lines · Alex Benn?e
There is no real reason to disable the building of GDB. I suspect the original patch (
be084204) which added the restriction did so not realising that AArch64 has had thread support in it's toolchain for some time.
be084204 did not add the AArch64 exception: it only made sure the comments about threads being needed would not be shown on AArch64, because gdb is never available on AArch64.
The real commit who made gdb unavailable on AArch64 is 0e49733b306b353aad3a29a2c7a6faf25841ef0b. I believe at the time (April 2013), AArch64 was maybe not supported in the mainline gdb.
Therefore, could you check when AArch64 support was added in mainline gdb ? We currently allow selecting either gdb 7.6 and 7.7 in Buildroot.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 gdb: don't block building on AArch64 systems
Quoted 12 lines · Thomas Petazzoni
Dear Alex Benn?e,
Quoted 4 lines · Alex Benn?e
There is no real reason to disable the building of GDB. I suspect the original patch (
be084204) which added the restriction did so not realising that AArch64 has had thread support in it's toolchain for some time.
be084204did not add the AArch64 exception: it only made sure the comments about threads being needed would not be shown on AArch64, because gdb is never available on AArch64.
Quoted 6 lines
The real commit who made gdb unavailable on AArch64 is
0e49733b306b353aad3a29a2c7a6faf25841ef0b. I believe at the time (April 2013), AArch64 was maybe not supported in the mainline gdb.Therefore, could you check when AArch64 support was added in mainline gdb ? We currently allow selecting either gdb 7.6 and 7.7 in Buildroot.
AArch64 has been supported since gdb 7.6 (although 7.8 is much nicer to use due to bug fixes).
PATCH 1/1 gdb: don't block building on AArch64 systems
Quoted 10 lines · Will Newton
Quoted 8 lines · Thomas Petazzoni
Dear Alex Benn?e,
Quoted 4 lines · Alex Benn?e
There is no real reason to disable the building of GDB. I suspect the original patch (
be084204) which added the restriction did so not realising that AArch64 has had thread support in it's toolchain for some time.
Quoted 7 lines
Quoted 7 lines
be084204did not add the AArch64 exception: it only made sure the comments about threads being needed would not be shown on AArch64, because gdb is never available on AArch64.The real commit who made gdb unavailable on AArch64 is
0e49733b306b353aad3a29a2c7a6faf25841ef0b. I believe at the time (April 2013), AArch64 was maybe not supported in the mainline gdb.
My mistake, I got lost in the maze of GDB Config.in changes.
Quoted 6 lines
Quoted 3 lines
Therefore, could you check when AArch64 support was added in mainline gdb ? We currently allow selecting either gdb 7.6 and 7.7 in Buildroot.
AArch64 has been supported since gdb 7.6 (although 7.8 is much nicer to use due to bug fixes).
I'll resubmit with a re-worded commit message.
Signature · 1 line
Alex Benn?e
PATCH 1/1 gdb: don't block building on AArch64 systems
Dear Alex Benn?e,
Quoted 5 lines · Alex Benn?e
Quoted 3 lines
Quoted 3 lines
The real commit who made gdb unavailable on AArch64 is
0e49733b306b353aad3a29a2c7a6faf25841ef0b. I believe at the time (April 2013), AArch64 was maybe not supported in the mainline gdb.My mistake, I got lost in the maze of GDB Config.in changes.
No problem!
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Therefore, could you check when AArch64 support was added in mainline gdb ? We currently allow selecting either gdb 7.6 and 7.7 in Buildroot.
AArch64 has been supported since gdb 7.6 (although 7.8 is much nicer to use due to bug fixes).
I'll resubmit with a re-worded commit message.
Great, thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com