Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH, nds32] Exclude building gdb for nds32*-*-* target.
@ 2014-09-05  7:13 Chung-Ju Wu
  2014-09-05 13:51 ` Joel Sherrill
  0 siblings, 1 reply; 7+ messages in thread
From: Chung-Ju Wu @ 2014-09-05  7:13 UTC (permalink / raw)
  To: Pedro Alves, binutils, gdb-patches; +Cc: Wei-Cheng Wang, Kuan-Lin Chen

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Hi, gdb & binutils maintainers,

Currently the nds32 port for gdb is still under contribution process.
So the gdb has not been supported yet for --target=nds32*-*-*.
It would be good if we can disable gdb before nds32 port for gdb is ready.

The attachment is the patch of configure.ac and I use autoconf 2.64
to regenerate configure.  But I notice some inconsistent changes between
configure.ac and configure.  Looks like there was something wrong on
previous commit 1f995db6ad2c9325a8db45b73fea29c8ab9200e1 ... and I just
accidentally fix it in this patch when regenerating configure. :p

The plain text ChangeLog is as below, is this patch OK for commit?


2014-09-05  Chung-Ju Wu  <jasonwucj@gmail.com>

    * configure.ac (nds32*-*-*): Disable gdb.
    * configure: Regenerated.


Best regards,
jasonwucj

[-- Attachment #2: 0001-Disable-gdb-for-nds32-until-supported.patch --]
[-- Type: application/octet-stream, Size: 1656 bytes --]

From a96bc4c1638187e18a6e2f71e2c158dddcf5d68f Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu <jasonwucj@andestech.com>
Date: Fri, 5 Sep 2014 14:56:57 +0800
Subject: [PATCH] Disable gdb for nds32*-*-* until supported.

---
 configure    | 11 +++++++----
 configure.ac |  3 +++
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 26c9886..dfea3bd 100755
--- a/configure
+++ b/configure
@@ -3369,10 +3369,6 @@ case "${target}" in
     ;;
   *-*-rtems*)
     noconfigdirs="$noconfigdirs ${libgcj}"
-    # this is not caught below because this stanza matches earlier
-    case $target in
-      or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
-    esac
     ;;
   *-*-tpf*)
     noconfigdirs="$noconfigdirs ${libgcj}"
@@ -3607,6 +3603,10 @@ case "${target}" in
     ;;
   *-*-rtems*)
     noconfigdirs="$noconfigdirs target-libgloss"
+    # this is not caught below because this stanza matches earlier
+    case $target in
+      or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
+    esac
     ;;
     # The tpf target doesn't support gdb yet.
   *-*-tpf*)
@@ -3805,6 +3805,9 @@ case "${target}" in
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
     ;;
+  nds32*-*-*)
+    noconfigdirs="$noconfigdirs gdb"
+    ;;
   or1k*-*-*)
     noconfigdirs="$noconfigdirs gdb"
     ;;
diff --git a/configure.ac b/configure.ac
index 028cbda..dada090 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1133,6 +1133,9 @@ case "${target}" in
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
     ;;
+  nds32*-*-*)
+    noconfigdirs="$noconfigdirs gdb"
+    ;;
   or1k*-*-*)
     noconfigdirs="$noconfigdirs gdb"
     ;;
-- 
1.9.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-05 20:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05  7:13 [PATCH, nds32] Exclude building gdb for nds32*-*-* target Chung-Ju Wu
2014-09-05 13:51 ` Joel Sherrill
2014-09-05 17:00   ` Joel Brobecker
2014-09-05 19:10     ` Joel Sherrill
2014-09-05 19:27       ` top-level configure regenerated (was: "Re: [PATCH, nds32] Exclude building gdb for nds32*-*-* target.") Joel Brobecker
2014-09-05 20:10       ` [PATCH, nds32] Exclude building gdb for nds32*-*-* target Chung-Ju Wu
2014-09-05 20:29         ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox