[Buildroot] [PATCH 2/5] package/gdb: add support for gdb 11.x

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 10 13:57:33 UTC 2021


On Sun, 10 Oct 2021 11:10:59 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> This one looks a bit dubious...
> 
> If the host gdb is enabled, then the target gdb is the same version as
> the host version. So, this configuration:
> 
>     BR2_PACKAGE_HOST_GDB=y
>     BR2_PACKAGE_GDB=y
>     BR2_GDB_VERSION_10=y
> 
> will yield a configuration that will force the target gmp, even though
> the target gdb will not use it.
> 
> Or did I miss something?
> 
> I can fix that when applying:
> 
>     select BR2_PACKAGE_GMP if BR2_GDB_VERSION_11

Gah, of course, you're completely right. I thought about this when
starting this work, but then go drowned into all the implications
(adding test cases, changing generate-gitlab-ci-yml, etc.) and forgot
to get back to this.

Do you want me to resend, or will you fix this up when applying?

Thanks for the careful review!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com


More information about the buildroot mailing list