Ticket #3460: gdb-8.2.1-disable-sis.patch

File gdb-8.2.1-disable-sis.patch, 1.1 KB (added by Jiri Gaisler, on 08/08/19 at 20:17:36)

Disable built-in sis in gdb 8.2.1, in favor of the stand-alone one.

  • gdb/configure.tgt

    diff -Naur gdb-8.2.1.org/gdb/configure.tgt gdb-8.2.1/gdb/configure.tgt
    old new  
    623623        # Target: SPARC
    624624        gdb_target_obs="sparc-tdep.o \
    625625                        ravenscar-thread.o sparc-ravenscar-thread.o"
    626         gdb_sim=../sim/erc32/libsim.a
    627626        ;;
    628627sparc64-*-*)
    629628        # Target: UltraSPARC
  • sim/configure

    diff -Naur gdb-8.2.1.org/sim/configure gdb-8.2.1/sim/configure
    old new  
    38663866
    38673867
    38683868       ;;
    3869    sparc-*-rtems*|sparc-*-elf*)
    3870 
    3871   sim_arch=erc32
    3872   subdirs="$subdirs erc32"
    3873 
    3874 
    3875        ;;
    38763869   powerpc*-*-*)
    38773870
    38783871  sim_arch=ppc
  • sim/configure.tgt

    diff -Naur gdb-8.2.1.org/sim/configure.tgt gdb-8.2.1/sim/configure.tgt
    old new  
    9191   sh*-*-*)
    9292       SIM_ARCH(sh)
    9393       ;;
    94    sparc-*-rtems*|sparc-*-elf*)
    95        SIM_ARCH(erc32)
    96        ;;
    9794   powerpc*-*-*)
    9895       SIM_ARCH(ppc)
    9996       ;;