Skip to contentSkip to conversation

add gdb-6.8 support

PATCH New Fathi Boudra 2 participants 3 messages Jun 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add gdb-6.8 support

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

#1 lore raw

PATCH 1/1 add gdb-6.8 support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fathi" == Fathi Boudra <[email protected]> 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

Quoted 21 lines
toolchain/gdb/Config.in +5 -0
@@ -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
toolchain/gdb/gdb.mk +0 -0
@@ -84,13 +84,14 @@
 
 $(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked

toolchain/gdb/gdb.mk line 94

Quoted 10 lines
toolchain/gdb/gdb.mk +2 -1
 	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!

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 add gdb-6.8 support

Quoted 1 line

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