aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTheodoros Foradis <theodoros.for@openmailbox.org>2016-10-28 20:36:04 +0300
committerDavid Craven <david@craven.ch>2016-10-30 02:02:46 +0200
commit94f36a4f5e101dc7d4f65224b1d3f0abebe643af (patch)
treed6b1ed1bf8745f0b4952d193aef77056ac19b498 /gnu/packages
parenteaf72e218e38c0c908ee30c914ab7d9c0c0389b8 (diff)
downloadpatches-94f36a4f5e101dc7d4f65224b1d3f0abebe643af.tar
patches-94f36a4f5e101dc7d4f65224b1d3f0abebe643af.tar.gz
gnu: Add gdb-arm-none-eabi.
* gnu/packages/embedded.scm (gdb-arm-none-eabi): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/embedded.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index a7af69f609..0b4f9abc1e 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -31,6 +31,7 @@
#:use-module (gnu packages cross-base)
#:use-module (gnu packages flex)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages gdb)
#:use-module (gnu packages perl)
#:use-module (gnu packages texinfo))
@@ -223,3 +224,15 @@ languages are C and C++.")
(define-public arm-none-eabi-nano-toolchain-6
(arm-none-eabi-toolchain gcc-arm-none-eabi-6
newlib-nano-arm-none-eabi))
+
+(define-public gdb-arm-none-eabi
+ (package
+ (inherit gdb)
+ (name "gdb-arm-none-eabi")
+ (arguments
+ `(#:configure-flags '("--target=arm-none-eabi"
+ "--enable-multilib"
+ "--enable-interwork"
+ "--enable-languages=c,c++"
+ "--disable-nls")
+ ,@(package-arguments gdb)))))