2006-07-13 Joel Sherrill <joel@oarcorp.com>

* configure.ac, rtems4.7/Makefile.am, rtems4.7/arm/Makefile.am,
	rtems4.7/arm/gdb-sources.add, rtems4.7/avr/Makefile.am,
	rtems4.7/avr/gdb-sources.add, rtems4.7/h8300/Makefile.am,
	rtems4.7/h8300/gdb-sources.add, rtems4.7/i386/Makefile.am,
	rtems4.7/i386/gdb-sources.add, rtems4.7/m68k/Makefile.am,
	rtems4.7/m68k/gdb-sources.add, rtems4.7/mips/Makefile.am,
	rtems4.7/mips/gdb-sources.add, rtems4.7/powerpc/Makefile.am,
	rtems4.7/powerpc/gdb-sources.add, rtems4.7/sh/Makefile.am,
	rtems4.7/sh/gdb-sources.add, rtems4.7/sparc/Makefile.am,
	rtems4.7/sparc/gdb-sources.add, rtems4.7/tic4x/gdb-sources.add:
	Updated to gdb 6.5
	* patches/gdb-6.5-rtems-20060713.diff, rtems4.7/mipstx39/.cvsignore,
	rtems4.7/mipstx39/Makefile.am, rtems4.7/mipstx39/gdb-sources.add: New files.
This commit is contained in:
Joel Sherrill
2006-07-13 16:48:53 +00:00
parent 6933a4cf09
commit 460d7e78ce
26 changed files with 164 additions and 20 deletions

View File

@@ -1,3 +1,19 @@
2006-07-13 Joel Sherrill <joel@oarcorp.com>
* configure.ac, rtems4.7/Makefile.am, rtems4.7/arm/Makefile.am,
rtems4.7/arm/gdb-sources.add, rtems4.7/avr/Makefile.am,
rtems4.7/avr/gdb-sources.add, rtems4.7/h8300/Makefile.am,
rtems4.7/h8300/gdb-sources.add, rtems4.7/i386/Makefile.am,
rtems4.7/i386/gdb-sources.add, rtems4.7/m68k/Makefile.am,
rtems4.7/m68k/gdb-sources.add, rtems4.7/mips/Makefile.am,
rtems4.7/mips/gdb-sources.add, rtems4.7/powerpc/Makefile.am,
rtems4.7/powerpc/gdb-sources.add, rtems4.7/sh/Makefile.am,
rtems4.7/sh/gdb-sources.add, rtems4.7/sparc/Makefile.am,
rtems4.7/sparc/gdb-sources.add, rtems4.7/tic4x/gdb-sources.add:
Updated to gdb 6.5
* patches/gdb-6.5-rtems-20060713.diff, rtems4.7/mipstx39/.cvsignore,
rtems4.7/mipstx39/Makefile.am, rtems4.7/mipstx39/gdb-sources.add: New files.
2006-07-12 RTEMS
* rtems4.7/arm/gdb-sources.add, rtems4.7/avr/gdb-sources.add,

View File

@@ -160,6 +160,7 @@ AC_CONFIG_FILES([rtems4.7/h8300/Makefile])
AC_CONFIG_FILES([rtems4.7/i386/Makefile])
AC_CONFIG_FILES([rtems4.7/m68k/Makefile])
AC_CONFIG_FILES([rtems4.7/mips/Makefile])
AC_CONFIG_FILES([rtems4.7/mipstx39/Makefile])
AC_CONFIG_FILES([rtems4.7/powerpc/Makefile])
AC_CONFIG_FILES([rtems4.7/sh/Makefile])
AC_CONFIG_FILES([rtems4.7/sparc/Makefile])

View File

@@ -0,0 +1,109 @@
diff -uNr /home/joel/tools-original/gdb-6.5/bfd/sysdep.h gdb-6.5/bfd/sysdep.h
--- /home/joel/tools-original/gdb-6.5/bfd/sysdep.h 2005-05-05 13:51:14.000000000 -0500
+++ gdb-6.5/bfd/sysdep.h 2006-07-13 10:00:00.000000000 -0500
@@ -135,7 +135,7 @@
#endif
#if !HAVE_DECL_STRSTR
-extern char *strstr ();
+/* extern char *strstr (); */
#endif
#ifdef HAVE_FTELLO
diff -uNr /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt gdb-6.5/gdb/config/sparc/embedded.mt
--- /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt 1969-12-31 18:00:00.000000000 -0600
+++ gdb-6.5/gdb/config/sparc/embedded.mt 2006-07-13 10:00:00.000000000 -0500
@@ -0,0 +1,5 @@
+# Target: SPARC embedded with simulator
+TDEPFILES= sparc-tdep.o
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/erc32/libsim.a
diff -uNr /home/joel/tools-original/gdb-6.5/gdb/configure.tgt gdb-6.5/gdb/configure.tgt
--- /home/joel/tools-original/gdb-6.5/gdb/configure.tgt 2006-04-20 18:18:48.000000000 -0500
+++ gdb-6.5/gdb/configure.tgt 2006-07-13 10:00:00.000000000 -0500
@@ -197,6 +197,7 @@
sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
gdb_target=sol2-64
;;
+sparc-*-rtems*) gdb_target=embedded ;;
sparc-*-*) gdb_target=sparc ;;
sparc64-*-*) gdb_target=sparc64 ;;
diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure gdb-6.5/sim/configure
--- /home/joel/tools-original/gdb-6.5/sim/configure 2006-05-05 12:11:19.000000000 -0500
+++ gdb-6.5/sim/configure 2006-07-13 10:00:00.000000000 -0500
@@ -3525,6 +3525,14 @@
testsuite=yes
common=yes
;;
+ sparc-*-rtems*|sparc-*-elf*)
+
+
+subdirs="$subdirs erc32"
+
+ testsuite=yes
+ common=yes
+ ;;
powerpc*-*-* )
diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure.ac gdb-6.5/sim/configure.ac
--- /home/joel/tools-original/gdb-6.5/sim/configure.ac 2006-05-05 12:11:19.000000000 -0500
+++ gdb-6.5/sim/configure.ac 2006-07-13 10:00:00.000000000 -0500
@@ -115,6 +115,11 @@
testsuite=yes
common=yes
;;
+ sparc-*-rtems*|sparc-*-elf*)
+ AC_CONFIG_SUBDIRS(erc32)
+ testsuite=yes
+ common=yes
+ ;;
powerpc*-*-* )
AC_CONFIG_SUBDIRS(ppc)
common=yes
diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c gdb-6.5/sim/erc32/exec.c
--- /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c 2005-03-07 05:09:05.000000000 -0600
+++ gdb-6.5/sim/erc32/exec.c 2006-07-13 10:00:00.000000000 -0500
@@ -1713,7 +1713,7 @@
sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
default:
- ;
+ break;
}
#endif
@@ -1886,7 +1886,7 @@
sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
default:
- ;
+ break;
}
#endif
if (sregs->fpstate == FP_EXC_PE) {
diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in gdb-6.5/sim/erc32/Makefile.in
--- /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in 2000-03-07 09:32:49.000000000 -0600
+++ gdb-6.5/sim/erc32/Makefile.in 2006-07-13 10:00:00.000000000 -0500
@@ -53,7 +53,7 @@
# Copy the files into directories where they will be run.
install-sis: installdirs
n=`echo sis | sed '$(program_transform_name)'`; \
- $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
+ $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
clean-sis:
rm -f sis end end.h
diff -uNr /home/joel/tools-original/gdb-6.5/sim/Makefile.in gdb-6.5/sim/Makefile.in
--- /home/joel/tools-original/gdb-6.5/sim/Makefile.in 2006-05-05 12:11:19.000000000 -0500
+++ gdb-6.5/sim/Makefile.in 2006-07-13 10:00:00.000000000 -0500
@@ -84,6 +84,7 @@
"exec_prefix=$(exec_prefix)" \
"bindir=$(bindir)" \
"mandir=$(mandir)" \
+ "libdir=$(libdir)" \
"against=$(against)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \

View File

@@ -7,6 +7,7 @@ SUBDIRS += h8300
SUBDIRS += i386
SUBDIRS += m68k
SUBDIRS += mips
SUBDIRS += mipstx39
SUBDIRS += powerpc
SUBDIRS += sh
SUBDIRS += sparc

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS +=
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -4,7 +4,7 @@ TARGET = m68k-rtems4.7
include $(top_srcdir)/mkspec.am
BINUTILS_VERS = 2.16.1
BINUTILS_VERS = 2.17
BINUTILS_RPMREL = @VERSION@
include ../binutils.am
@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060407.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.spec
*.spec.in

View File

@@ -0,0 +1,10 @@
# $Id$
TARGET = mipstx39-rtems4.7
include $(top_srcdir)/mkspec.am
# We only want a gdb with a tx39 simulator in it. We share the other tools
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -0,0 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -14,6 +14,6 @@ NEWLIB_VERS = 1.14.0
include ../gcc.am
GCC_OPTS += --languages=cxx
GDB_VERS = 6.4
GDB_VERS = 6.5
GDB_RPMREL = @VERSION@
include ../gdb.am

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff

View File

@@ -1,3 +1,3 @@
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: gdb-6.4-rtems-20060712.diff
Patch0: gdb-6.5-rtems-20060713.diff