Skip to contentSkip to conversation

gdb: Add support for gdb 7.5.1 and make it the default.

PATCH New Will Newton 3 participants 4 messages Jan 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdb: Add support for gdb 7.5.1 and make it the default.

---
 toolchain/gdb/Config.in |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

I'm imagine a few of those older version could be safely removed but I am not sure which versions people are using. Aside from avr32 and bfin is anyone using a non-7.4 version?

toolchain/gdb/Config.in +8 -1
index 6a8e48e..53dcb93 100644
@@ -45,7 +45,7 @@ choice
 	prompt "GDB debugger Version"
 	default BR2_GDB_VERSION_6_6 if BR2_bfin
 	default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
-	default BR2_GDB_VERSION_7_4
+	default BR2_GDB_VERSION_7_5
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
 	help
 	  Select the version of gdb you wish to use.
@@ -95,6 +95,12 @@ choice
 		depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
 		select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
 
+	config BR2_GDB_VERSION_7_5
+		bool "gdb 7.5.x"
+		depends on !BR2_bfin
+		depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
+		select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
+
 endchoice
 
 comment "gdb support needs pthread debug support in toolchain"
@@ -110,3 +116,4 @@ config BR2_GDB_VERSION
 	default "7.2a"     if BR2_GDB_VERSION_7_2
 	default "7.3.1"    if BR2_GDB_VERSION_7_3
 	default "7.4.1"    if BR2_GDB_VERSION_7_4
+	default "7.5.1"    if BR2_GDB_VERSION_7_5
Signature · 8 lines
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-Add-support-for-gdb-7.5.1-and-make-it-the-defaul.patch
Type: application/octet-stream
Size: 1558 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130124/ad467cac/attachment.obj>
#1 lore raw

PATCH 1/1 gdb: Add support for gdb 7.5.1 and make it the default.

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

"Will" == Will Newton <[email protected]> writes:

Will> Signed-off-by: Will Newton <[email protected]>

Committed, thanks.

Will> ---

 Will>  toolchain/gdb/Config.in |    9 ++++++++-

Will> 1 files changed, 8 insertions(+), 1 deletions(-)

Will> I'm imagine a few of those older version could be safely removed Will> but I am not sure which versions people are using. Aside from Will> avr32 and bfin is anyone using a non-7.4 version?

Yes, I think we could probably remove some of the deprecated versions (6.8/7.0/7.1).

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

PATCH 1/1 gdb: Add support for gdb 7.5.1 and make it the default.

In reply to Will Newton
Quoted 3 lines · Will Newton

prompt "GDB debugger Version"
default BR2_GDB_VERSION_6_6 if BR2_bfin default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32

Not related but I see it now: does gdb 7.* actually work for avr32? If
so, why do we keep this old version around?

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH 1/1 gdb: Add support for gdb 7.5.1 and make it the default.

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

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 3 lines · Will Newton
Quoted 3 lines

prompt "GDB debugger Version"
default BR2_GDB_VERSION_6_6 if BR2_bfin default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32

Arnout> Not related but I see it now: does gdb 7.* actually work for avr32? Arnout> If so, why do we keep this old version around?

I believe it doesn't, but I've never tried. All the 7.x versions shouldn't be selectable for avr32 (unless I'm wrong and they do work).

Signature · 1 line
Bye, Peter Korsgaard