[Buildroot] [PATCH] gdb: convert to the package infrastructure

James Hogan james.hogan at imgtec.com
Thu Feb 28 12:11:35 UTC 2013


Hi Thomas,

On 28/02/13 08:47, Thomas Petazzoni wrote:
> On Thu, 28 Feb 2013 08:39:18 +0000, James Hogan wrote:
> 
>>> * It really doesn't make sense to build host-gdb without a
>>> gdbserver for the target. So I would auto-select gdbserver from
>>> host-gdb.
>>
>> Kgdb (kernel debugging) is one use case where you'd want host-gdb
>> without necessarily gdbserver.
> 
> Hum, correct.
> 
>>> * Does it really make sense to keep options for four different gdb
>>> versions? Can't we just remove the user-selectable version
>>> completely?
>>
>> The option is useful for arches which don't have their gdb port
>> upstream yet, giving them a chance to update their patches.
> 
> Not sure to follow here: Arnout mentions the choice list of gdb
> versions, which only have a limited number of choices already. If you
> need Buildroot to use some custom gdb version, then you already have to
> modify Buildroot anyway. Or maybe I'm missing the point you're making?

Yes, but the modification is as simple as adding a patch file in the
right place.

Cheers
James



More information about the buildroot mailing list