* [Buildroot] [PATCH] gdb: don't block building on AArch64 systems
@ 2014-08-05 13:14 Alex Bennée
2014-08-05 14:20 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Alex Bennée @ 2014-08-05 13:14 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: Alex Benn?e <alex.bennee@linaro.org>
---
package/gdb/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/gdb/Config.in b/package/gdb/Config.in
index cc2469e..bfbc8d8 100644
--- a/package/gdb/Config.in
+++ b/package/gdb/Config.in
@@ -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
--
2.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] gdb: don't block building on AArch64 systems
2014-08-05 13:14 [Buildroot] [PATCH] gdb: don't block building on AArch64 systems Alex Bennée
@ 2014-08-05 14:20 ` Thomas Petazzoni
2014-08-05 14:46 ` Will Newton
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-08-05 14:20 UTC (permalink / raw)
To: buildroot
Dear Alex Benn?e,
On Tue, 5 Aug 2014 14:14:13 +0100, Alex Benn?e wrote:
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] gdb: don't block building on AArch64 systems
2014-08-05 14:20 ` Thomas Petazzoni
@ 2014-08-05 14:46 ` Will Newton
2014-08-06 8:23 ` Alex Bennée
0 siblings, 1 reply; 5+ messages in thread
From: Will Newton @ 2014-08-05 14:46 UTC (permalink / raw)
To: buildroot
On Tue, Aug 5, 2014 at 3:20 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Alex Benn?e,
>
> On Tue, 5 Aug 2014 14:14:13 +0100, Alex Benn?e wrote:
>> 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.
AArch64 has been supported since gdb 7.6 (although 7.8 is much nicer
to use due to bug fixes).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] gdb: don't block building on AArch64 systems
2014-08-05 14:46 ` Will Newton
@ 2014-08-06 8:23 ` Alex Bennée
2014-08-06 10:03 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Alex Bennée @ 2014-08-06 8:23 UTC (permalink / raw)
To: buildroot
Will Newton writes:
> On Tue, Aug 5, 2014 at 3:20 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
>> Dear Alex Benn?e,
>>
>> On Tue, 5 Aug 2014 14:14:13 +0100, Alex Benn?e wrote:
>>> 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.
My mistake, I got lost in the maze of GDB Config.in changes.
>>
>> 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.
--
Alex Benn?e
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] gdb: don't block building on AArch64 systems
2014-08-06 8:23 ` Alex Bennée
@ 2014-08-06 10:03 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-08-06 10:03 UTC (permalink / raw)
To: buildroot
Dear Alex Benn?e,
On Wed, 06 Aug 2014 09:23:58 +0100, Alex Benn?e wrote:
> >> 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!
> >> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-06 10:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 13:14 [Buildroot] [PATCH] gdb: don't block building on AArch64 systems Alex Bennée
2014-08-05 14:20 ` Thomas Petazzoni
2014-08-05 14:46 ` Will Newton
2014-08-06 8:23 ` Alex Bennée
2014-08-06 10:03 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.