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: Alan Modra <amodra at gmail dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: Christian Svensson <blue at cmd dot nu>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 28 Jul 2014 22:37:59 +0930
- 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>
On Mon, Jul 28, 2014 at 08:52:17AM -0400, Joel Sherrill wrote:
> I admit to editing the configure file by hand but I can't visually see the difference on a phone. Is there a white space difference?
No, the patches to configure.ac and configure differ in location.
> On July 28, 2014 8:42:56 AM EDT, Alan Modra <amodra@gmail.com> wrote:
> >On Sun, Jul 27, 2014 at 06:53:33PM +0200, Christian Svensson wrote:
> >> From: Joel Sherrill <joel.sherrill@oarcorp.com>
> >>
> >> * configure.ac (or1k*-*-rtems*): gdb not supported. The ordering
> >> of the stanzas results in this not being caught by or1k*-*-* later.
> >> * configure. Regenerated.
> >
> >Something went wrong here. When I regen the file, I see:
> >
> >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*)
--
Alan Modra
Australia Development Lab, IBM