summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-02-17 09:40:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-02-17 09:40:11 +0000
commitbb31ed759b9c542a1e6886a314aea7a442cb5485 (patch)
tree353a9f7cf83c7764b4e509efcbb1a903cbcfa29c /contrib
parentFix URL. (diff)
downloadrtems-bb31ed759b9c542a1e6886a314aea7a442cb5485.tar.bz2
New.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070217.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070217.diff b/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070217.diff
new file mode 100644
index 0000000000..7a2bb2df49
--- /dev/null
+++ b/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070217.diff
@@ -0,0 +1,33 @@
+diff -ur gdb-6.6.orig/bfd/sysdep.h gdb-6.6/bfd/sysdep.h
+--- gdb-6.6.orig/bfd/sysdep.h 2005-05-05 20:51:14.000000000 +0200
++++ gdb-6.6/bfd/sysdep.h 2007-02-17 08:58:24.000000000 +0100
+@@ -135,7 +135,7 @@
+ #endif
+
+ #if !HAVE_DECL_STRSTR
+-extern char *strstr ();
++/* extern char *strstr (); */
+ #endif
+
+ #ifdef HAVE_FTELLO
+diff -ur gdb-6.6.orig/sim/erc32/exec.c gdb-6.6/sim/erc32/exec.c
+--- gdb-6.6.orig/sim/erc32/exec.c 2005-03-07 12:09:05.000000000 +0100
++++ gdb-6.6/sim/erc32/exec.c 2007-02-17 08:58:24.000000000 +0100
+@@ -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) {