[Buildroot] [for-master 2/2] package/gdb: prevent gdbserver being selected for or1k builds

Romain Naour romain.naour at gmail.com
Mon Aug 29 17:45:04 UTC 2022


Hello Thomas,

Le 29/08/2022 à 15:46, Thomas Petazzoni a écrit :
> Hello Romain,
> 
> On Sat, 27 Aug 2022 18:14:31 +0200
> Romain Naour <romain.naour at gmail.com> wrote:
> 
>> There is currently no version of gdbserver for or1k. Until this
>> is implemented we will prevent both the direct and indirect
>> selection of gdbserver for or1k builds. In practice this means
>> that 'cross gdb for the host' cannot be selected and that
>> 'full debugger' must be automatically selected for the gdb target
>> package
>>
>> Signed-off-by: Romain Naour <romain.naour at gmail.com>
>> Cc: Stafford Horne <shorne at gmail.com>
>> ---
>> gdbserver for or1k requires gdb 12.1 [1] but this version is
>> not available in Buildroot 2022.08 and only in the next branch
>> (upcoming 2022.011).
> 
> But in:
> 
> commit 991b7b990ad8cd4a37564cd91d5bb0ee7e1e9f11
> Author: Stafford Horne <shorne at gmail.com>
> Date:   Sat Jul 30 07:07:48 2022 +0900
> 
>     package/gdb: Enable OpenRISC GDB support
>     
>     The OpenRiSC gdb port has supported native debugging since version 8.3
>     and remote debugging since before that.  So it is now safe to enabled
>     this.
>     
>     This patch removes the conditions blocking gdb from being built on or1k
>     architecture builds.
>     
>     Signed-off-by: Stafford Horne <shorne at gmail.com>
>     Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> 
> Stafford said that "remote debugging" works.

I'm not sure about "remote debugging" but the commit I'm referring is titled
"gdb: or1k: implement gdb server"

I noticed that or1k entry is missing in gdbserver/configure.srv until gdb 12.

> 
> So, what is correct? :-)

I guess git has the answer:

$ git tag --contains 4933265c3f71b9134363d0c05f09542d5cc677f4
binutils-2_38
binutils-2_39
gdb-12-branchpoint
gdb-12.1-release

Best regards,
Romain

> 
> Thomas




More information about the buildroot mailing list