Subject: misc/8244: Can't configure gdb --target=powerpc-netbsd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ac131313@cygnus.com>
List: netbsd-bugs
Date: 08/20/1999 01:15:13
>Number:         8244
>Category:       misc
>Synopsis:       Can't configure gdb --target=powerpc-netbsd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 20 00:05:01 1999
>Last-Modified:
>Originator:     Andrew Cagney
>Organization:
>Release:        Fri Aug 20 16:26:42 EST 1999
>Environment:
SunOS amy 5.5.1 Generic_105428-01 sun4u sparc SUNW,Ultra-5_10


>Description:
An attempt to configure gdb fails as the target ``powerpc-netbsd''
isn't known by the file gdb/configure.tgt.

>How-To-Repeat:
$  with_newlib=yes ${srcdir}/gnu/dist/configure \
        --target=${MACHINE_ARCH}-netbsd \
        --prefix=${installdir}

>Fix:
I'll commit this to the main GDB source tree.

Index: ./gnu/dist/gdb/configure.tgt
===================================================================
RCS file: /cvsroot/gnusrc/gnu/dist/gdb/configure.tgt,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 configure.tgt
*** configure.tgt       1999/02/10 22:06:24     1.1.1.1
--- configure.tgt       1999/08/20 06:48:15
*************** powerpc-*-netware*)     gdb_target=ppc-nw
*** 213,219 ****
  powerpc-*-aix*)               gdb_target=aix ;;
  powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
  powerpcle-*-solaris*) gdb_target=solaris ;;
! powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf*)
                        if test -f ../sim/ppc/Makefile; then
                          gdb_target=ppc-sim
                        else
--- 213,219 ----
  powerpc-*-aix*)               gdb_target=aix ;;
  powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
  powerpcle-*-solaris*) gdb_target=solaris ;;
! powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf* | powerpc-*-netbsd*)
                        if test -f ../sim/ppc/Makefile; then
                          gdb_target=ppc-sim
                        else

>Audit-Trail:
>Unformatted: