Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] add gdb-6.8 support
@ 2008-06-27  7:11 Fathi Boudra
  2008-06-27 10:21 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Fathi Boudra @ 2008-06-27  7:11 UTC (permalink / raw)
  To: buildroot

Hi,

please find attached patches to add gdb-6.8 support.

<off-topic>
gdb-6.7.1 support is broken. patches doesn't apply.
I guess you could drop all patches except
600-fix-compile-flag-mismatch.patch
This patch need to be refreshed.
gdb-6.5 is broken too. patches need to be refreshed too.
Let me know if you want these gdb fixed as I don't really care of these
versions and use 6.8.
</off-topic>

cheers,

Fathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080627/28f1f4b6/attachment.htm 
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 3377
Url: http://busybox.net/lists/buildroot/attachments/20080627/28f1f4b6/attachment.eml 
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 1265
Url: http://busybox.net/lists/buildroot/attachments/20080627/28f1f4b6/attachment-0001.eml 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] add gdb-6.8 support
  2008-06-27  7:11 [Buildroot] [PATCH] add gdb-6.8 support Fathi Boudra
@ 2008-06-27 10:21 ` Peter Korsgaard
  2008-06-27 17:33   ` Fathi Boudra
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2008-06-27 10:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Fathi" == Fathi Boudra <fboudra@gmail.com> writes:

 Fathi> Hi,
 Fathi> please find attached patches to add gdb-6.8 support.

 Fathi> <off-topic> gdb-6.7.1 support is broken. patches doesn't
 Fathi> apply.  I guess you could drop all patches except
 Fathi> 600-fix-compile-flag-mismatch.patch This patch need to be
 Fathi> refreshed.  gdb-6.5 is broken too. patches need to be
 Fathi> refreshed too.  Let me know if you want these gdb fixed as I
 Fathi> don't really care of these versions and use 6.8.

Yes please.

 Fathi> cheers,

 Fathi> Fathi

> --- a/toolchain/gdb/Config.in
> +++ b/toolchain/gdb/Config.in
> @@ -52,6 +52,10 @@ 		bool "gdb 6.7.1" 		depends on !BR2_avr32 
> +	config BR2_GDB_VERSION_6_8
> +		bool "gdb 6.8"
> +		depends on !BR2_avr32
> +
>  	config BR2_GDB_VERSION_SNAPSHOT
>  		bool "gdb snapshot"
>  		depends on !BR2_avr32 && !BR2_nios2
> @@ -66,4 +70,5 @@
>  	default "6.5"      if BR2_GDB_VERSION_6_5
>  	default "6.6"      if BR2_GDB_VERSION_6_6
>  	default "6.7.1"    if BR2_GDB_VERSION_6_7_1
> +	default "6.8"      if BR2_GDB_VERSION_6_8
>  	default "snapshot" if BR2_GDB_VERSION_SNAPSHOT
> --- a/toolchain/gdb/gdb.mk
> +++ b/toolchain/gdb/gdb.mk
> @@ -84,13 +84,14 @@
 
>  $(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked
>  	mkdir -p $(GDB_TARGET_DIR)
> -	(cd $(GDB_TARGET_DIR); rm -rf config.cache; \
> +	(cd $(GDB_TARGET_DIR); \
>  		gdb_cv_func_sigsetjmp=yes \
>  		$(TARGET_CONFIGURE_OPTS) \
>  		CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wno-error" \
>  		CFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wno-error" \
>  		$(GDB_TARGET_CONFIGURE_VARS) \
>  		$(GDB_DIR)/configure \
> +		--cache-file=/dev/null \

This seems unrelated to 6.8 support - Please do this as a seperate
patch.

Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] add gdb-6.8 support
  2008-06-27 10:21 ` Peter Korsgaard
@ 2008-06-27 17:33   ` Fathi Boudra
  0 siblings, 0 replies; 3+ messages in thread
From: Fathi Boudra @ 2008-06-27 17:33 UTC (permalink / raw)
  To: buildroot

> This seems unrelated to 6.8 support - Please do this as a seperate patch.

right.

* Add gdb-6.8 support patches:
  - add_gdb-6.8_support.diff
  - 600-fix-compile-flag-mismatch.patch

* Disable configure caching in gdb package:
  - disable_gdb_configure_caching.diff

cheers,

Fathi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 600-fix-compile-flag-mismatch.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080627/57e1f933/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_gdb-6.8_support.diff
Type: text/x-diff
Size: 541 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080627/57e1f933/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable_gdb_configure_caching.diff
Type: text/x-diff
Size: 1931 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080627/57e1f933/attachment-0001.diff 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-27 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27  7:11 [Buildroot] [PATCH] add gdb-6.8 support Fathi Boudra
2008-06-27 10:21 ` Peter Korsgaard
2008-06-27 17:33   ` Fathi Boudra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox