Skip to contentSkip to conversation

gdb: Add support for ARC-specific gdb

PATCH New Mischa Jonker 2 participants 2 messages Jul 30, 2013 – Jul 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdb: Add support for ARC-specific gdb

---
 package/gdb/Config.in.host |    2 ++
 package/gdb/gdb.mk         |    4 ++++
 2 files changed, 6 insertions(+)
package/gdb/Config.in.host +2 -0
index a791f09..128aed9 100644
@@ -15,6 +15,7 @@ if BR2_PACKAGE_HOST_GDB
 
 choice
 	prompt "GDB debugger Version"
+	depends on !BR2_arc
 	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_5
@@ -57,5 +58,6 @@ config BR2_GDB_VERSION
 	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
+	default "7.5.1-arc" if BR2_arc
 
 endif
package/gdb/gdb.mk +4 -0
index fbb2fae..9cf90e3 100644
@@ -21,6 +21,10 @@ GDB_VERSION = 7.5.1
 endif
 endif
 
+ifeq ($(BR2_arc),y)
+GDB_SITE = $(BR2_ARC_SITE)
+endif
+
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 gdb: Add support for ARC-specific gdb

Dear Mischa Jonker,

Quoted 5 lines · Mischa Jonker
---
 package/gdb/Config.in.host |    2 ++
 package/gdb/gdb.mk         |    4 ++++
 2 files changed, 6 insertions(+)

Applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com