summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-02-20 05:04:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-02-20 05:04:34 +0000
commit678a69e3c1d1789732d4d8182683af5d5a9993cb (patch)
treeeb85c8a7ded4dcee7a6d0e3eb482567b4044391a
parentNew (Identical to gcc-core-4.1.2-rtems4.8-20070216.diff) (diff)
downloadrtems-678a69e3c1d1789732d4d8182683af5d5a9993cb.tar.bz2
New (Identical to gdb-6.6-rtems4.8-20070218.diff).
-rw-r--r--contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff48
1 files changed, 48 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff b/contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff
new file mode 100644
index 0000000000..a44498d9a0
--- /dev/null
+++ b/contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff
@@ -0,0 +1,48 @@
+diff -uNr 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 -uNr gdb-6.6.orig/gdb/memory-map.c gdb-6.6/gdb/memory-map.c
+--- gdb-6.6.orig/gdb/memory-map.c 2006-10-05 21:42:31.000000000 +0200
++++ gdb-6.6/gdb/memory-map.c 2007-02-18 08:55:17.000000000 +0100
+@@ -141,10 +141,10 @@
+ {
+ if (strcmp (data->property_name, "blocksize") == 0)
+ {
++ char *end = NULL;
+ if (!data->character_data)
+ throw_error (XML_PARSE_ERROR,
+ _("Empty content of 'property' element"));
+- char *end = NULL;
+ data->currently_parsing->attrib.blocksize
+ = strtoul (data->character_data, &end, 0);
+ if (*end != '\0')
+diff -uNr 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) {