all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Morgan.J.Smith@outlook.com
To: 48767@debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith@outlook.com>
Subject: [bug#48767] [PATCH 5/7] gnu: Add gdb-msp430.
Date: Mon, 31 May 2021 23:09:50 -0400	[thread overview]
Message-ID: <BYAPR05MB40235589CED984F80F4E1671C53E9@BYAPR05MB4023.namprd05.prod.outlook.com> (raw)
In-Reply-To: <20210601030951.10432-1-Morgan.J.Smith@outlook.com>

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/embedded.scm (gdb-msp430): New variable.
---
 gnu/packages/embedded.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index dc324e54a1..6c9a8470d5 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -653,6 +653,21 @@ (define (make-msp430-toolchain xgcc newlib)
 (define-public msp430-toolchain
   (make-msp430-toolchain gcc-msp430 newlib-msp430))
 
+(define-public gdb-msp430
+  (package
+    (inherit gdb)
+    (name "gdb-msp430")
+    (arguments
+     `(#:configure-flags '("--target=msp430-elf"
+                           "--enable-languages=c,c++"
+                           "--disable-nls"
+                           "--enable-initfini-array"
+
+                           ;; These two options are used by python if support is enabled
+                           "--program-prefix=msp430-elf-"
+                           "--program-suffix=-py")
+       ,@(package-arguments gdb)))))
+
 (define-public libjaylink
   (package
     (name "libjaylink")
-- 
2.31.1





  parent reply	other threads:[~2021-06-01  3:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210601030951.10432-1-Morgan.J.Smith@outlook.com>
2021-06-01  3:09 ` [bug#48767] [PATCH 2/7] gnu: Add gcc-msp430 Morgan.J.Smith
2021-06-01  3:09 ` [bug#48767] [PATCH 3/7] gnu: Add newlib-msp430 Morgan.J.Smith
2021-06-01  3:09 ` [bug#48767] [PATCH 4/7] gnu: Add msp430-toolchain Morgan.J.Smith
2021-06-01  3:09 ` Morgan.J.Smith [this message]
2021-06-01  3:09 ` [bug#48767] [PATCH 6/7] gnu: mspdebug: Update to 0.25-0.4c4d94e Morgan.J.Smith
2021-06-01  3:09 ` [bug#48767] [PATCH 7/7] gnu: Add msp430lib Morgan.J.Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR05MB40235589CED984F80F4E1671C53E9@BYAPR05MB4023.namprd05.prod.outlook.com \
    --to=morgan.j.smith@outlook.com \
    --cc=48767@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.