This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] or1k: GDB not supported for or1k*-*-rtems*


I have finally returned to this.

Alan,

I think the configure.ac is OK and the configure
script committed doesn't match what is generated.

Please double check me. But this code in configure.ac
appears to be in the correct place since other targets
disable gdb here:

  *-*-rtems*)
    noconfigdirs="$noconfigdirs target-libgloss"
    # this is not caught below because this stanza matches earlier
    case $target in
      or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
    esac
    ;;


And the addition in configure is incorrect because it added
it to the libgcj logic.  It will work but isn't right.

All I did was regenerate configure. You do it and see if you get
the same difference.

Patch attached.

--joel
On 7/28/2014 8:27 AM, Alan Modra wrote:
> On Mon, Jul 28, 2014 at 09:10:14AM -0400, Joel Sherrill wrote:
>> What's the magic incantation to invoke auto tools on the top? And version. I will be doing this from a hotel. 
> In this case, just plain "autoconf" in the top dir.  version 2.64
>

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

>From 45bf32efe032511752155f1fefc362f0e95b1a57 Mon Sep 17 00:00:00 2001
From: Joel Sherrill <joel.sherrill@oarcorp.com>
Date: Wed, 6 Aug 2014 17:46:02 -0500
Subject: [PATCH] Regenerate configure

Joel Sherrill <joel.sherrill@oarcorp.com>

	* configure. Regenerated.
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 26c9886..9fc1c88 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*)
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]