Skip to contentSkip to conversation

host-gdb: Forbid simulator for ARC

PATCH New Vlad Zakharov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 host-gdb: Forbid simulator for ARC

Forbid BR2_PACKAGE_HOST_GDB_SIM selection for ARC architectures. Simulator isn't supported by ARC.

---
 package/gdb/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gdb/Config.in.host +1 -0
index 7b319f5..004c53c 100644
@@ -25,6 +25,7 @@ config BR2_PACKAGE_HOST_GDB_PYTHON
 
 config BR2_PACKAGE_HOST_GDB_SIM
 	bool "Simulator support"
+  	depends on !BR2_arc
 	help
 	  This option enables the simulator support in the cross gdb.
 
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 host-gdb: Forbid simulator for ARC

Hello,

The title should have been more like:

gdb: do not allow selecting the simulator on ARC

Quoted 14 lines · Vlad Zakharov

Forbid BR2_PACKAGE_HOST_GDB_SIM selection for ARC architectures. Simulator isn't supported by ARC.

---
 package/gdb/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gdb/Config.in.host +0 -0
index 7b319f5..004c53c 100644

package/gdb/Config.in.host config BR2_PACKAGE_HOST_GDB_PYTHON · line 28

Quoted 4 lines
package/gdb/Config.in.host +1 -0
@@ -25,6 +25,7 @@ config BR2_PACKAGE_HOST_GDB_PYTHON
 
 config BR2_PACKAGE_HOST_GDB_SIM
 	bool "Simulator support"
+  	depends on !BR2_arc

Indentation should be done with one tab, not with spaces.

I've applied after fixing those minor issues.

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com