diff mbox

[v7,4/4] Add gdb for or1k build

Message ID 9f7c01d33d453186963b6b13f0f1ef4394b4e98b.1496068645.git.shorne@gmail.com
State New
Headers show

Commit Message

Stafford Horne May 29, 2017, 2:48 p.m. UTC
* ChangeLog:

2017-02-12  Stafford Horne  <shorne@gmail.com>

	* configure.ac: Remove logic adding gdb to noconfigsdirs for or1k.
	* configure: Regenerate.

Cc: gcc-patches@gcc.gnu.org
---
 configure    | 7 -------
 configure.ac | 7 -------
 2 files changed, 14 deletions(-)

Comments

Stafford Horne Dec. 8, 2017, 9:28 p.m. UTC | #1
Hello,

This patch was sent in May, now everything is in place to commit the
OpenRISC gdb port upstream except for the OK from GCC on this patch.

Are there any concerns?  Who will commit this to GCC?

On Mon, May 29, 2017 at 11:48 PM, Stafford Horne <shorne@gmail.com> wrote:
> * ChangeLog:
>
> 2017-02-12  Stafford Horne  <shorne@gmail.com>
>
>         * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k.
>         * configure: Regenerate.
>
> Cc: gcc-patches@gcc.gnu.org
> ---
>  configure    | 7 -------
>  configure.ac | 7 -------
>  2 files changed, 14 deletions(-)
>
> diff --git a/configure b/configure
> index be9dd89..0bf47fa 100755
> --- a/configure
> +++ b/configure
> @@ -3632,10 +3632,6 @@ 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*)
> @@ -3841,9 +3837,6 @@ case "${target}" in
>    nvptx*-*-*)
>      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
>      ;;
> -  or1k*-*-*)
> -    noconfigdirs="$noconfigdirs gdb"
> -    ;;
>    sh-*-*)
>      case "${target}" in
>        sh*-*-elf)
> diff --git a/configure.ac b/configure.ac
> index 532c5c2..9d16792 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -966,10 +966,6 @@ 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*)
> @@ -1175,9 +1171,6 @@ case "${target}" in
>    nvptx*-*-*)
>      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
>      ;;
> -  or1k*-*-*)
> -    noconfigdirs="$noconfigdirs gdb"
> -    ;;
>    sh-*-*)
>      case "${target}" in
>        sh*-*-elf)
> --
> 2.9.4
>
Stafford Horne Dec. 12, 2017, 2:04 p.m. UTC | #2
Hello,

I brought this up on the #gcc chat room.  I was asked to check with Jakub and
Richi.

This is a small patch to configure/configure.ac to enable gdb to build for the
or1k target.  I am working on upstreaming the gdb port and have everything OKed
and all copyrights in place for the binutils/gdb/sim projects.

Since binutils copies the configure/configure.ac from the gcc project I would
like to get this patch incorporated into gcc before committing the
binutils/gdb/sim patches.

Please let me know if there are any questions/concerns.

-Stafford

On Sat, Dec 09, 2017 at 06:28:28AM +0900, Stafford Horne wrote:
> Hello,
> 
> This patch was sent in May, now everything is in place to commit the
> OpenRISC gdb port upstream except for the OK from GCC on this patch.
> 
> Are there any concerns?  Who will commit this to GCC?
> 
> On Mon, May 29, 2017 at 11:48 PM, Stafford Horne <shorne@gmail.com> wrote:
> > * ChangeLog:
> >
> > 2017-02-12  Stafford Horne  <shorne@gmail.com>
> >
> >         * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k.
> >         * configure: Regenerate.
> >
> > Cc: gcc-patches@gcc.gnu.org
> > ---
> >  configure    | 7 -------
> >  configure.ac | 7 -------
> >  2 files changed, 14 deletions(-)
> >
> > diff --git a/configure b/configure
> > index be9dd89..0bf47fa 100755
> > --- a/configure
> > +++ b/configure
> > @@ -3632,10 +3632,6 @@ 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*)
> > @@ -3841,9 +3837,6 @@ case "${target}" in
> >    nvptx*-*-*)
> >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> >      ;;
> > -  or1k*-*-*)
> > -    noconfigdirs="$noconfigdirs gdb"
> > -    ;;
> >    sh-*-*)
> >      case "${target}" in
> >        sh*-*-elf)
> > diff --git a/configure.ac b/configure.ac
> > index 532c5c2..9d16792 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -966,10 +966,6 @@ 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*)
> > @@ -1175,9 +1171,6 @@ case "${target}" in
> >    nvptx*-*-*)
> >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> >      ;;
> > -  or1k*-*-*)
> > -    noconfigdirs="$noconfigdirs gdb"
> > -    ;;
> >    sh-*-*)
> >      case "${target}" in
> >        sh*-*-elf)
> > --
> > 2.9.4
> >
Richard Biener Dec. 12, 2017, 2:05 p.m. UTC | #3
On Tue, 12 Dec 2017, Stafford Horne wrote:

> Hello,
> 
> I brought this up on the #gcc chat room.  I was asked to check with Jakub and
> Richi.
> 
> This is a small patch to configure/configure.ac to enable gdb to build for the
> or1k target.  I am working on upstreaming the gdb port and have everything OKed
> and all copyrights in place for the binutils/gdb/sim projects.
> 
> Since binutils copies the configure/configure.ac from the gcc project I would
> like to get this patch incorporated into gcc before committing the
> binutils/gdb/sim patches.
> 
> Please let me know if there are any questions/concerns.

Ok.

Thanks,
Richard.

> -Stafford
> 
> On Sat, Dec 09, 2017 at 06:28:28AM +0900, Stafford Horne wrote:
> > Hello,
> > 
> > This patch was sent in May, now everything is in place to commit the
> > OpenRISC gdb port upstream except for the OK from GCC on this patch.
> > 
> > Are there any concerns?  Who will commit this to GCC?
> > 
> > On Mon, May 29, 2017 at 11:48 PM, Stafford Horne <shorne@gmail.com> wrote:
> > > * ChangeLog:
> > >
> > > 2017-02-12  Stafford Horne  <shorne@gmail.com>
> > >
> > >         * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k.
> > >         * configure: Regenerate.
> > >
> > > Cc: gcc-patches@gcc.gnu.org
> > > ---
> > >  configure    | 7 -------
> > >  configure.ac | 7 -------
> > >  2 files changed, 14 deletions(-)
> > >
> > > diff --git a/configure b/configure
> > > index be9dd89..0bf47fa 100755
> > > --- a/configure
> > > +++ b/configure
> > > @@ -3632,10 +3632,6 @@ 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*)
> > > @@ -3841,9 +3837,6 @@ case "${target}" in
> > >    nvptx*-*-*)
> > >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> > >      ;;
> > > -  or1k*-*-*)
> > > -    noconfigdirs="$noconfigdirs gdb"
> > > -    ;;
> > >    sh-*-*)
> > >      case "${target}" in
> > >        sh*-*-elf)
> > > diff --git a/configure.ac b/configure.ac
> > > index 532c5c2..9d16792 100644
> > > --- a/configure.ac
> > > +++ b/configure.ac
> > > @@ -966,10 +966,6 @@ 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*)
> > > @@ -1175,9 +1171,6 @@ case "${target}" in
> > >    nvptx*-*-*)
> > >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> > >      ;;
> > > -  or1k*-*-*)
> > > -    noconfigdirs="$noconfigdirs gdb"
> > > -    ;;
> > >    sh-*-*)
> > >      case "${target}" in
> > >        sh*-*-elf)
> > > --
> > > 2.9.4
> > >
> 
>
Stafford Horne Dec. 12, 2017, 3:12 p.m. UTC | #4
On Tue, Dec 12, 2017 at 03:05:41PM +0100, Richard Biener wrote:
> On Tue, 12 Dec 2017, Stafford Horne wrote:
> 
> > Hello,
> > 
> > I brought this up on the #gcc chat room.  I was asked to check with Jakub and
> > Richi.
> > 
> > This is a small patch to configure/configure.ac to enable gdb to build for the
> > or1k target.  I am working on upstreaming the gdb port and have everything OKed
> > and all copyrights in place for the binutils/gdb/sim projects.
> > 
> > Since binutils copies the configure/configure.ac from the gcc project I would
> > like to get this patch incorporated into gcc before committing the
> > binutils/gdb/sim patches.
> > 
> > Please let me know if there are any questions/concerns.
> 
> Ok.

Thank you,

As discussed you have committed this to the gcc svn.

-Stafford

> Thanks,
> Richard.
> 
> > -Stafford
> > 
> > On Sat, Dec 09, 2017 at 06:28:28AM +0900, Stafford Horne wrote:
> > > Hello,
> > > 
> > > This patch was sent in May, now everything is in place to commit the
> > > OpenRISC gdb port upstream except for the OK from GCC on this patch.
> > > 
> > > Are there any concerns?  Who will commit this to GCC?
> > > 
> > > On Mon, May 29, 2017 at 11:48 PM, Stafford Horne <shorne@gmail.com> wrote:
> > > > * ChangeLog:
> > > >
> > > > 2017-02-12  Stafford Horne  <shorne@gmail.com>
> > > >
> > > >         * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k.
> > > >         * configure: Regenerate.
> > > >
> > > > Cc: gcc-patches@gcc.gnu.org
> > > > ---
> > > >  configure    | 7 -------
> > > >  configure.ac | 7 -------
> > > >  2 files changed, 14 deletions(-)
> > > >
> > > > diff --git a/configure b/configure
> > > > index be9dd89..0bf47fa 100755
> > > > --- a/configure
> > > > +++ b/configure
> > > > @@ -3632,10 +3632,6 @@ 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*)
> > > > @@ -3841,9 +3837,6 @@ case "${target}" in
> > > >    nvptx*-*-*)
> > > >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> > > >      ;;
> > > > -  or1k*-*-*)
> > > > -    noconfigdirs="$noconfigdirs gdb"
> > > > -    ;;
> > > >    sh-*-*)
> > > >      case "${target}" in
> > > >        sh*-*-elf)
> > > > diff --git a/configure.ac b/configure.ac
> > > > index 532c5c2..9d16792 100644
> > > > --- a/configure.ac
> > > > +++ b/configure.ac
> > > > @@ -966,10 +966,6 @@ 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*)
> > > > @@ -1175,9 +1171,6 @@ case "${target}" in
> > > >    nvptx*-*-*)
> > > >      noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
> > > >      ;;
> > > > -  or1k*-*-*)
> > > > -    noconfigdirs="$noconfigdirs gdb"
> > > > -    ;;
> > > >    sh-*-*)
> > > >      case "${target}" in
> > > >        sh*-*-elf)
> > > > --
> > > > 2.9.4
> > > >
> > 
> > 
> 
> -- 
> Richard Biener <rguenther@suse.de>
> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
diff mbox

Patch

diff --git a/configure b/configure
index be9dd89..0bf47fa 100755
--- a/configure
+++ b/configure
@@ -3632,10 +3632,6 @@  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*)
@@ -3841,9 +3837,6 @@  case "${target}" in
   nvptx*-*-*)
     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
     ;;
-  or1k*-*-*)
-    noconfigdirs="$noconfigdirs gdb"
-    ;;
   sh-*-*)
     case "${target}" in
       sh*-*-elf)
diff --git a/configure.ac b/configure.ac
index 532c5c2..9d16792 100644
--- a/configure.ac
+++ b/configure.ac
@@ -966,10 +966,6 @@  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*)
@@ -1175,9 +1171,6 @@  case "${target}" in
   nvptx*-*-*)
     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
     ;;
-  or1k*-*-*)
-    noconfigdirs="$noconfigdirs gdb"
-    ;;
   sh-*-*)
     case "${target}" in
       sh*-*-elf)