This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] or1k: GDB not supported for or1k*-*-rtems*
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Christian Svensson <blue at cmd dot nu>, "binutils at sourceware dot org" <binutils at sourceware dot org>, amodra at gmail dot com
- Date: Wed, 6 Aug 2014 17:50:55 -0500
- Subject: Re: [PATCH] or1k: GDB not supported for or1k*-*-rtems*
- Authentication-results: sourceware.org; auth=none
- References: <1406480013-13609-1-git-send-email-blue at cmd dot nu> <1406480013-13609-2-git-send-email-blue at cmd dot nu> <20140728124256 dot GA30089 at bubble dot grove dot modra dot org> <d9aa2ff5-1461-4792-9a5b-4f23f34997c7 at email dot android dot com> <20140728130759 dot GB30089 at bubble dot grove dot modra dot org> <ce796dc1-3d51-403e-b459-49615ba7860f at email dot android dot com> <20140728132717 dot GD30089 at bubble dot grove dot modra dot org>
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