source: rtems/contrib/crossrpms/patches/gdb-6.7.1-rtems4.9-20071031.diff @ 3dd61288

4.104.114.95
Last change on this file since 3dd61288 was 3dd61288, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 31, 2007 at 5:11:26 AM

New.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[3dd61288]1diff -uNr gdb-6.7.1.orig/bfd/sysdep.h gdb-6.7.1/bfd/sysdep.h
2--- gdb-6.7.1.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200
3+++ gdb-6.7.1/bfd/sysdep.h      2007-10-31 06:08:42.000000000 +0100
4@@ -136,7 +136,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 gdb-6.7.1.orig/sim/erc32/erc32.c gdb-6.7.1/sim/erc32/erc32.c
14--- gdb-6.7.1.orig/sim/erc32/erc32.c    1999-04-16 03:35:00.000000000 +0200
15+++ gdb-6.7.1/sim/erc32/erc32.c 2007-10-31 06:08:42.000000000 +0100
16@@ -413,7 +413,7 @@
17     if (rom8) mec_memcfg &= ~0x20000;
18     else mec_memcfg |= 0x20000;
19 
20-    mem_ramsz = (256 * 1024) << ((mec_memcfg >> 10) & 7);
21+    mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7);
22     mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7);
23 
24     if (sparclite_board) {
25diff -uNr gdb-6.7.1.orig/sim/erc32/exec.c gdb-6.7.1/sim/erc32/exec.c
26--- gdb-6.7.1.orig/sim/erc32/exec.c     2005-03-07 12:09:05.000000000 +0100
27+++ gdb-6.7.1/sim/erc32/exec.c  2007-10-31 06:08:42.000000000 +0100
28@@ -1713,7 +1713,7 @@
29            sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
30            sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
31     default:
32-      ;
33+      break;
34     }
35 #endif
36 
37@@ -1886,7 +1886,7 @@
38        sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
39        sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
40     default:
41-      ;
42+      break;
43     }
44 #endif
45     if (sregs->fpstate == FP_EXC_PE) {
Note: See TracBrowser for help on using the repository browser.