source: rtems/contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff @ 92b61a71

4.104.114.84.9
Last change on this file since 92b61a71 was 460d7e7, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 13, 2006 at 4:48:53 PM

2006-07-13 Joel Sherrill <joel@…>

  • 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.
  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[460d7e7]1diff -uNr /home/joel/tools-original/gdb-6.5/bfd/sysdep.h gdb-6.5/bfd/sysdep.h
2--- /home/joel/tools-original/gdb-6.5/bfd/sysdep.h      2005-05-05 13:51:14.000000000 -0500
3+++ gdb-6.5/bfd/sysdep.h        2006-07-13 10:00:00.000000000 -0500
4@@ -135,7 +135,7 @@
5 #endif
6 
7 #if !HAVE_DECL_STRSTR
8-extern char *strstr ();
9+/* extern char *strstr (); */
10 #endif
11 
12 #ifdef HAVE_FTELLO
13diff -uNr /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt gdb-6.5/gdb/config/sparc/embedded.mt
14--- /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt      1969-12-31 18:00:00.000000000 -0600
15+++ gdb-6.5/gdb/config/sparc/embedded.mt        2006-07-13 10:00:00.000000000 -0500
16@@ -0,0 +1,5 @@
17+# Target: SPARC embedded with simulator
18+TDEPFILES= sparc-tdep.o
19+
20+SIM_OBS = remote-sim.o
21+SIM = ../sim/erc32/libsim.a
22diff -uNr /home/joel/tools-original/gdb-6.5/gdb/configure.tgt gdb-6.5/gdb/configure.tgt
23--- /home/joel/tools-original/gdb-6.5/gdb/configure.tgt 2006-04-20 18:18:48.000000000 -0500
24+++ gdb-6.5/gdb/configure.tgt   2006-07-13 10:00:00.000000000 -0500
25@@ -197,6 +197,7 @@
26 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
27                        gdb_target=sol2-64
28                        ;;
29+sparc-*-rtems*)                gdb_target=embedded ;;
30 sparc-*-*)             gdb_target=sparc ;;
31 sparc64-*-*)           gdb_target=sparc64 ;;
32 
33diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure gdb-6.5/sim/configure
34--- /home/joel/tools-original/gdb-6.5/sim/configure     2006-05-05 12:11:19.000000000 -0500
35+++ gdb-6.5/sim/configure       2006-07-13 10:00:00.000000000 -0500
36@@ -3525,6 +3525,14 @@
37           testsuite=yes
38           common=yes
39           ;;
40+       sparc-*-rtems*|sparc-*-elf*)
41+
42+
43+subdirs="$subdirs erc32"
44+
45+          testsuite=yes
46+          common=yes
47+          ;;
48        powerpc*-*-* )
49 
50 
51diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure.ac gdb-6.5/sim/configure.ac
52--- /home/joel/tools-original/gdb-6.5/sim/configure.ac  2006-05-05 12:11:19.000000000 -0500
53+++ gdb-6.5/sim/configure.ac    2006-07-13 10:00:00.000000000 -0500
54@@ -115,6 +115,11 @@
55           testsuite=yes
56           common=yes
57           ;;
58+       sparc-*-rtems*|sparc-*-elf*)
59+           AC_CONFIG_SUBDIRS(erc32)
60+          testsuite=yes
61+          common=yes
62+          ;;
63        powerpc*-*-* )
64            AC_CONFIG_SUBDIRS(ppc)
65           common=yes
66diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c gdb-6.5/sim/erc32/exec.c
67--- /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c  2005-03-07 05:09:05.000000000 -0600
68+++ gdb-6.5/sim/erc32/exec.c    2006-07-13 10:00:00.000000000 -0500
69@@ -1713,7 +1713,7 @@
70            sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
71            sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
72     default:
73-      ;
74+      break;
75     }
76 #endif
77 
78@@ -1886,7 +1886,7 @@
79        sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
80        sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
81     default:
82-      ;
83+      break;
84     }
85 #endif
86     if (sregs->fpstate == FP_EXC_PE) {
87diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in gdb-6.5/sim/erc32/Makefile.in
88--- /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in     2000-03-07 09:32:49.000000000 -0600
89+++ gdb-6.5/sim/erc32/Makefile.in       2006-07-13 10:00:00.000000000 -0500
90@@ -53,7 +53,7 @@
91 # Copy the files into directories where they will be run.
92 install-sis: installdirs
93        n=`echo sis | sed '$(program_transform_name)'`; \
94-       $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
95+       $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
96 
97 clean-sis:
98        rm -f sis end end.h
99diff -uNr /home/joel/tools-original/gdb-6.5/sim/Makefile.in gdb-6.5/sim/Makefile.in
100--- /home/joel/tools-original/gdb-6.5/sim/Makefile.in   2006-05-05 12:11:19.000000000 -0500
101+++ gdb-6.5/sim/Makefile.in     2006-07-13 10:00:00.000000000 -0500
102@@ -84,6 +84,7 @@
103        "exec_prefix=$(exec_prefix)" \
104        "bindir=$(bindir)" \
105        "mandir=$(mandir)" \
106+       "libdir=$(libdir)" \
107        "against=$(against)" \
108        "AR=$(AR)" \
109        "AR_FLAGS=$(AR_FLAGS)" \
Note: See TracBrowser for help on using the repository browser.