[Buildroot] [PATCH 04/11] gdb: Fix on-target threads debugging
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Apr 3 21:23:50 UTC 2014
Paul, Maarten, All,
On 2014-04-03 23:01 +0200, Paul Cercueil spake thusly:
> From: Maarten ter Huurne <maarten at treewalker.org>
>
> Signed-Off-By: Maarten ter Huurne <maarten at treewalker.org>
> Acked-By: Paul Cercueil <paul at crapouillou.net>
> ---
> Makefile | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 09be13c..69ef7a5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -506,6 +506,10 @@ $(BUILD_DIR)/.root:
>
> $(TARGET_DIR): $(BUILD_DIR)/.root
>
> +ifeq ($(BR2_PACKAGE_GDB),y)
> +BR2_STRIP_EXCLUDE_FILES += libpthread*.so*
> +endif
Is that really needed? The exclude code already excludes that file:
Makefile at 513:
[...] $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) [...]
So, libpthread*.so* is always excluded from being stripped.
Do you have a case where libpthread*.so* is still stripped?
Regards,
Yann E. MORIN.
> STRIP_FIND_CMD = find $(TARGET_DIR)
> ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))
> STRIP_FIND_CMD += \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) -prune -o
> --
> 1.9.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list