source: rtems/contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff @ d959898

4.104.114.84.95
Last change on this file since d959898 was d959898, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 12, 2006 at 8:48:51 PM

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.
  • Property mode set to 100644
File size: 4.0 KB
  • gdb-6.4/bfd/sysdep.h

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/bfd/sysdep.h gdb-6.4/bfd/sysdep.h
    old new  
    135135#endif
    136136
    137137#if !HAVE_DECL_STRSTR
    138 extern char *strstr ();
     138/* extern char *strstr (); */
    139139#endif
    140140
    141141#ifdef HAVE_FTELLO
  • gdb-6.4/gdb/config/sparc/embedded.mt

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/gdb/config/sparc/embedded.mt gdb-6.4/gdb/config/sparc/embedded.mt
    old new  
     1# Target: SPARC embedded with simulator
     2TDEPFILES= sparc-tdep.o
     3
     4SIM_OBS = remote-sim.o
     5SIM = ../sim/erc32/libsim.a
  • gdb-6.4/gdb/configure.tgt

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/gdb/configure.tgt gdb-6.4/gdb/configure.tgt
    old new  
    198198sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
    199199                        gdb_target=sol2-64
    200200                        ;;
     201sparc-*-rtems*)         gdb_target=embedded ;;
    201202sparc-*-*)              gdb_target=sparc ;;
    202203sparc64-*-*)            gdb_target=sparc64 ;;
    203204
  • gdb-6.4/sim/Makefile.in

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/Makefile.in gdb-6.4/sim/Makefile.in
    old new  
    8787        "exec_prefix=$(exec_prefix)" \
    8888        "bindir=$(bindir)" \
    8989        "mandir=$(mandir)" \
     90        "libdir=$(libdir)" \
    9091        "against=$(against)" \
    9192        "AR=$(AR)" \
    9293        "AR_FLAGS=$(AR_FLAGS)" \
  • gdb-6.4/sim/configure

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/configure gdb-6.4/sim/configure
    old new  
    35153515           testsuite=yes
    35163516           common=yes
    35173517           ;;
     3518       sparc-*-rtems*|sparc-*-elf*)
     3519
     3520
     3521subdirs="$subdirs erc32"
     3522
     3523           testsuite=yes
     3524           common=yes
     3525           ;;
    35183526       powerpc*-*-* )
    35193527
    35203528
  • gdb-6.4/sim/configure.ac

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/configure.ac gdb-6.4/sim/configure.ac
    old new  
    109109           testsuite=yes
    110110           common=yes
    111111           ;;
     112       sparc-*-rtems*|sparc-*-elf*)
     113           AC_CONFIG_SUBDIRS(erc32)
     114           testsuite=yes
     115           common=yes
     116           ;;
    112117       powerpc*-*-* )
    113118           AC_CONFIG_SUBDIRS(ppc)
    114119           common=yes
  • gdb-6.4/sim/erc32/Makefile.in

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/Makefile.in gdb-6.4/sim/erc32/Makefile.in
    old new  
    5353# Copy the files into directories where they will be run.
    5454install-sis: installdirs
    5555        n=`echo sis | sed '$(program_transform_name)'`; \
    56         $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
     56        $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
    5757
    5858clean-sis:
    5959        rm -f sis end end.h
  • gdb-6.4/sim/erc32/exec.c

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/erc32/exec.c gdb-6.4/sim/erc32/exec.c
    old new  
    17131713            sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
    17141714            sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
    17151715    default:
    1716       ;
     1716      break;
    17171717    }
    17181718#endif
    17191719
     
    18861886        sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
    18871887        sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
    18881888    default:
    1889       ;
     1889      break;
    18901890    }
    18911891#endif
    18921892    if (sregs->fpstate == FP_EXC_PE) {
  • gdb-6.4/sim/mips/dv-tx3904tmr.c

    diff -uNr /usr1/rtems/work-tools/original/gdb-6.4/sim/mips/dv-tx3904tmr.c gdb-6.4/sim/mips/dv-tx3904tmr.c
    old new  
    675675
    676676        case 3: /* disabled */
    677677        default:
     678          break;
    678679        }
    679680
    680681      /* update counter and report */
Note: See TracBrowser for help on using the repository browser.