diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-07-12 20:48:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-07-12 20:48:51 +0000 |
commit | d959898b3a0c6920f166944b19302003e457bc0b (patch) | |
tree | 43c38ff021eb7f29b48e920cda432162d98a6e66 | |
parent | 2006-07-12 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d959898b3a0c6920f166944b19302003e457bc0b.tar.bz2 |
2006-07-12 RTEMS
* rtems4.7/arm/gdb-sources.add, rtems4.7/avr/gdb-sources.add,
rtems4.7/h8300/gdb-sources.add, rtems4.7/i386/gdb-sources.add,
rtems4.7/m68k/gdb-sources.add, rtems4.7/mips/gdb-sources.add,
rtems4.7/powerpc/gdb-sources.add, rtems4.7/sh/gdb-sources.add,
rtems4.7/sparc/gdb-sources.add, rtems4.7/tic4x/gdb-sources.add:
Update gdb to use newer patch. This lets sparc build simulator and
mips build at all.
* patches/gdb-6.4-rtems-20060712.diff: New file.
Diffstat (limited to '')
-rw-r--r-- | contrib/crossrpms/ChangeLog | 11 | ||||
-rw-r--r-- | contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff | 120 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/arm/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/avr/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/h8300/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/i386/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/m68k/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/mips/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/sh/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/sparc/gdb-sources.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.7/tic4x/gdb-sources.add | 2 |
12 files changed, 141 insertions, 10 deletions
diff --git a/contrib/crossrpms/ChangeLog b/contrib/crossrpms/ChangeLog index e69de29bb2..d6c717ce60 100644 --- a/contrib/crossrpms/ChangeLog +++ b/contrib/crossrpms/ChangeLog @@ -0,0 +1,11 @@ +2006-07-12 RTEMS + + * rtems4.7/arm/gdb-sources.add, rtems4.7/avr/gdb-sources.add, + rtems4.7/h8300/gdb-sources.add, rtems4.7/i386/gdb-sources.add, + rtems4.7/m68k/gdb-sources.add, rtems4.7/mips/gdb-sources.add, + rtems4.7/powerpc/gdb-sources.add, rtems4.7/sh/gdb-sources.add, + rtems4.7/sparc/gdb-sources.add, rtems4.7/tic4x/gdb-sources.add: + Update gdb to use newer patch. This lets sparc build simulator and + mips build at all. + * patches/gdb-6.4-rtems-20060712.diff: New file. + diff --git a/contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff b/contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff new file mode 100644 index 0000000000..6582dc6dd9 --- /dev/null +++ b/contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff @@ -0,0 +1,120 @@ +diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/bfd/sysdep.h gdb-6.4/bfd/sysdep.h +--- /usr1/rtems/work-tools/original/gdb-6.4/bfd/sysdep.h Thu May 5 13:51:14 2005 ++++ gdb-6.4/bfd/sysdep.h Fri Mar 24 11:31:32 2006 +@@ -135,7 +135,7 @@ + #endif + + #if !HAVE_DECL_STRSTR +-extern char *strstr (); ++/* extern char *strstr (); */ + #endif + + #ifdef HAVE_FTELLO +diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/gdb/config/sparc/embedded.mt gdb-6.4/gdb/config/sparc/embedded.mt +--- /usr1/rtems/work-tools/original/gdb-6.4/gdb/config/sparc/embedded.mt Wed Dec 31 18:00:00 1969 ++++ gdb-6.4/gdb/config/sparc/embedded.mt Fri Apr 7 10:56:45 2006 +@@ -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 /usr1/rtems/work-tools/original/gdb-6.4/gdb/configure.tgt gdb-6.4/gdb/configure.tgt +--- /usr1/rtems/work-tools/original/gdb-6.4/gdb/configure.tgt Mon Aug 15 16:46:38 2005 ++++ gdb-6.4/gdb/configure.tgt Fri Apr 7 10:55:37 2006 +@@ -198,6 +198,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 /usr1/rtems/work-tools/original/gdb-6.4/sim/Makefile.in gdb-6.4/sim/Makefile.in +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/Makefile.in Fri Jan 28 18:53:13 2005 ++++ gdb-6.4/sim/Makefile.in Fri Mar 24 11:32:53 2006 +@@ -87,6 +87,7 @@ + "exec_prefix=$(exec_prefix)" \ + "bindir=$(bindir)" \ + "mandir=$(mandir)" \ ++ "libdir=$(libdir)" \ + "against=$(against)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ +diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/configure gdb-6.4/sim/configure +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/configure Tue May 17 09:11:24 2005 ++++ gdb-6.4/sim/configure Wed Apr 5 12:39:21 2006 +@@ -3515,6 +3515,14 @@ + testsuite=yes + common=yes + ;; ++ sparc-*-rtems*|sparc-*-elf*) ++ ++ ++subdirs="$subdirs erc32" ++ ++ testsuite=yes ++ common=yes ++ ;; + powerpc*-*-* ) + + +diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/configure.ac gdb-6.4/sim/configure.ac +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/configure.ac Tue May 17 09:11:24 2005 ++++ gdb-6.4/sim/configure.ac Wed Apr 5 12:39:19 2006 +@@ -109,6 +109,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 /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/Makefile.in gdb-6.4/sim/erc32/Makefile.in +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/Makefile.in Tue Mar 7 09:32:49 2000 ++++ gdb-6.4/sim/erc32/Makefile.in Wed Apr 5 15:15:12 2006 +@@ -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 /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/exec.c gdb-6.4/sim/erc32/exec.c +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/exec.c Mon Mar 7 05:09:05 2005 ++++ gdb-6.4/sim/erc32/exec.c Fri Mar 24 11:32:53 2006 +@@ -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 /usr1/rtems/work-tools/original/gdb-6.4/sim/mips/dv-tx3904tmr.c gdb-6.4/sim/mips/dv-tx3904tmr.c +--- /usr1/rtems/work-tools/original/gdb-6.4/sim/mips/dv-tx3904tmr.c Thu Apr 15 20:35:06 1999 ++++ gdb-6.4/sim/mips/dv-tx3904tmr.c Fri Mar 24 11:32:53 2006 +@@ -675,6 +675,7 @@ + + case 3: /* disabled */ + default: ++ break; + } + + /* update counter and report */ diff --git a/contrib/crossrpms/rtems4.7/arm/gdb-sources.add b/contrib/crossrpms/rtems4.7/arm/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/arm/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/arm/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/avr/gdb-sources.add b/contrib/crossrpms/rtems4.7/avr/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/avr/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/avr/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add b/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/h8300/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/i386/gdb-sources.add b/contrib/crossrpms/rtems4.7/i386/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/i386/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/i386/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add b/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add index b763d265ba..13a9699b35 100644 --- a/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/m68k/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060407.diff diff --git a/contrib/crossrpms/rtems4.7/mips/gdb-sources.add b/contrib/crossrpms/rtems4.7/mips/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/mips/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/mips/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add b/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/sh/gdb-sources.add b/contrib/crossrpms/rtems4.7/sh/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/sh/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/sh/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add b/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/sparc/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff diff --git a/contrib/crossrpms/rtems4.7/tic4x/gdb-sources.add b/contrib/crossrpms/rtems4.7/tic4x/gdb-sources.add index b763d265ba..41a060a80b 100644 --- a/contrib/crossrpms/rtems4.7/tic4x/gdb-sources.add +++ b/contrib/crossrpms/rtems4.7/tic4x/gdb-sources.add @@ -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-20060311.diff +Patch0: gdb-6.4-rtems-20060712.diff |