source:
rtems/contrib/crossrpms/patches/gdb-7.0.90-rtems4.10-20100225.diff
@
0d96991
Last change on this file since 0d96991 was 0d96991, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/25/10 at 04:36:17 | |
---|---|
|
|
File size: 18.5 KB |
-
gdb/configure
diff -Naur gdb-7.0.90.orig/gdb/configure gdb-7.0.90-rtems4.10-20100225/gdb/configure
old new 6927 6927 6928 6928 . ${srcdir}/configure.tgt 6929 6929 6930 if test -z "${gdb_target_obs}"; then : 6931 as_fn_error "configuration ${targ} is unsupported." "$LINENO" 5 6932 fi 6933 6930 6934 # Target-specific object files 6931 6935 for i in ${gdb_target_obs}; do 6932 6936 case " $TARGET_OBS " in -
gdb/configure.ac
diff -Naur gdb-7.0.90.orig/gdb/configure.ac gdb-7.0.90-rtems4.10-20100225/gdb/configure.ac
old new 161 161 162 162 . ${srcdir}/configure.tgt 163 163 164 AS_IF([test -z "${gdb_target_obs}"], 165 [AC_MSG_ERROR([configuration ${targ} is unsupported.])]) 166 164 167 # Target-specific object files 165 168 for i in ${gdb_target_obs}; do 166 169 case " $TARGET_OBS " in -
gdb/lm32-tdep.c
diff -Naur gdb-7.0.90.orig/gdb/lm32-tdep.c gdb-7.0.90-rtems4.10-20100225/gdb/lm32-tdep.c
old new 35 35 #include "regcache.h" 36 36 #include "trad-frame.h" 37 37 #include "reggroups.h" 38 #include " opcodes/lm32-desc.h"38 #include "../opcodes/lm32-desc.h" 39 39 40 40 #include "gdb_string.h" 41 41 -
gdb/sparc-tdep.c
diff -Naur gdb-7.0.90.orig/gdb/sparc-tdep.c gdb-7.0.90-rtems4.10-20100225/gdb/sparc-tdep.c
old new 1100 1100 sparc32_store_return_value (struct type *type, struct regcache *regcache, 1101 1101 const gdb_byte *valbuf) 1102 1102 { 1103 int len = TYPE_LENGTH (type);1103 size_t len = TYPE_LENGTH (type); 1104 1104 gdb_byte buf[8]; 1105 1105 1106 1106 gdb_assert (!sparc_structure_or_union_p (type)); -
sim/erc32/configure
diff -Naur gdb-7.0.90.orig/sim/erc32/configure gdb-7.0.90-rtems4.10-20100225/sim/erc32/configure
old new 591 591 ac_subst_vars='LTLIBOBJS 592 592 LIBOBJS 593 593 cgen_breaks 594 READLINE_CFLAGS 595 READLINE_DEPS 594 596 READLINE 595 TERMCAP596 597 REPORT_BUGS_TEXI 597 598 REPORT_BUGS_TO 598 599 PKGVERSION … … 716 717 enable_sim_profile 717 718 with_pkgversion 718 719 with_bugurl 720 with_system_readline 719 721 ' 720 722 ac_precious_vars='build_alias 721 723 host_alias … … 1358 1360 --with-zlib include zlib support (auto/yes/no) default=auto 1359 1361 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" 1360 1362 --with-bugurl=URL Direct users to URL to report a bug 1363 --with-system-readline use installed readline library 1361 1364 1362 1365 Some influential environment variables: 1363 1366 CC C compiler command … … 2416 2419 2417 2420 2418 2421 2419 2420 2422 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around 2421 2423 # it by inlining the macro's contents. 2422 2424 # This file contains common code used by all simulators. … … 2916 2918 int 2917 2919 main () 2918 2920 { 2919 2921 return 0; 2920 2922 ; 2921 2923 return 0; 2922 2924 } 2923 2925 _ACEOF 2924 2926 ac_clean_files_save=$ac_clean_files 2925 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"2927 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2926 2928 # Try to create an executable without -o first, disregard a.out. 2927 2929 # It will help us diagnose broken compilers, and finding out an intuition 2928 2930 # of exeext. 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&52930 $as_echo_n "checking for C compiler default output file name... " >&6; }2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2932 $as_echo_n "checking whether the C compiler works... " >&6; } 2931 2933 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2932 2934 2933 2935 # The possible output files: … … 2989 2991 else 2990 2992 ac_file='' 2991 2993 fi 2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&52993 $as_echo "$ac_file" >&6; }2994 2994 if test -z "$ac_file"; then : 2995 $as_echo "$as_me: failed program was:" >&5 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2996 $as_echo "no" >&6; } 2997 $as_echo "$as_me: failed program was:" >&5 2996 2998 sed 's/^/| /' conftest.$ac_ext >&5 2997 2999 2998 3000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 … … 3000 3002 { as_fn_set_status 77 3001 3003 as_fn_error "C compiler cannot create executables 3002 3004 See \`config.log' for more details." "$LINENO" 5; }; } 3005 else 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3007 $as_echo "yes" >&6; } 3003 3008 fi 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3010 $as_echo_n "checking for C compiler default output file name... " >&6; } 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3012 $as_echo "$ac_file" >&6; } 3004 3013 ac_exeext=$ac_cv_exeext 3005 3014 3006 # Check that the compiler produces executables we can run. If not, either 3007 # the compiler is broken, or we cross compile. 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3009 $as_echo_n "checking whether the C compiler works... " >&6; } 3010 # If not cross compiling, check that we can run a simple program. 3011 if test "$cross_compiling" != yes; then 3012 if { ac_try='./$ac_file' 3013 { { case "(($ac_try" in 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3015 *) ac_try_echo=$ac_try;; 3016 esac 3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3018 $as_echo "$ac_try_echo"; } >&5 3019 (eval "$ac_try") 2>&5 3020 ac_status=$? 3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3022 test $ac_status = 0; }; }; then 3023 cross_compiling=no 3024 else 3025 if test "$cross_compiling" = maybe; then 3026 cross_compiling=yes 3027 else 3028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3030 as_fn_error "cannot run C compiled programs. 3031 If you meant to cross compile, use \`--host'. 3032 See \`config.log' for more details." "$LINENO" 5; } 3033 fi 3034 fi 3035 fi 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3037 $as_echo "yes" >&6; } 3038 3039 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 3015 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3040 3016 ac_clean_files=$ac_clean_files_save 3041 # Check that the compiler produces executables we can run. If not, either3042 # the compiler is broken, or we cross compile.3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&53044 $as_echo_n "checking whether we are cross compiling... " >&6; }3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&53046 $as_echo "$cross_compiling" >&6; }3047 3048 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3049 3018 $as_echo_n "checking for suffix of executables... " >&6; } 3050 3019 if { { ac_try="$ac_link" … … 3084 3053 rm -f conftest.$ac_ext 3085 3054 EXEEXT=$ac_cv_exeext 3086 3055 ac_exeext=$EXEEXT 3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3057 /* end confdefs.h. */ 3058 3059 int 3060 main () 3061 { 3062 3063 ; 3064 return 0; 3065 } 3066 _ACEOF 3067 ac_clean_files="$ac_clean_files conftest.out" 3068 # Check that the compiler produces executables we can run. If not, either 3069 # the compiler is broken, or we cross compile. 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3071 $as_echo_n "checking whether we are cross compiling... " >&6; } 3072 if test "$cross_compiling" != yes; then 3073 { { ac_try="$ac_link" 3074 case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077 esac 3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3079 $as_echo "$ac_try_echo"; } >&5 3080 (eval "$ac_link") 2>&5 3081 ac_status=$? 3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3083 test $ac_status = 0; } 3084 if { ac_try='./conftest$ac_cv_exeext' 3085 { { case "(($ac_try" in 3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3087 *) ac_try_echo=$ac_try;; 3088 esac 3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3090 $as_echo "$ac_try_echo"; } >&5 3091 (eval "$ac_try") 2>&5 3092 ac_status=$? 3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3094 test $ac_status = 0; }; }; then 3095 cross_compiling=no 3096 else 3097 if test "$cross_compiling" = maybe; then 3098 cross_compiling=yes 3099 else 3100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3102 as_fn_error "cannot run C compiled programs. 3103 If you meant to cross compile, use \`--host'. 3104 See \`config.log' for more details." "$LINENO" 5; } 3105 fi 3106 fi 3107 fi 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3109 $as_echo "$cross_compiling" >&6; } 3110 3111 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3112 ac_clean_files=$ac_clean_files_save 3087 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3088 3114 $as_echo_n "checking for suffix of object files... " >&6; } 3089 3115 if test "${ac_cv_objext+set}" = set; then : … … 4532 4558 done 4533 4559 4534 4560 4535 # In the Cygwin environment, we need some additional flags.4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&54537 $as_echo_n "checking for cygwin... " >&6; }4538 if test "${sim_cv_os_cygwin+set}" = set; then :4539 $as_echo_n "(cached) " >&64540 else4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4542 /* end confdefs.h. */4543 4561 4544 #ifdef __CYGWIN__ 4545 lose 4546 #endif 4547 _ACEOF 4548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4549 $EGREP "lose" >/dev/null 2>&1; then : 4550 sim_cv_os_cygwin=yes 4551 else 4552 sim_cv_os_cygwin=no 4562 # Check whether --with-system-readline was given. 4563 if test "${with_system_readline+set}" = set; then : 4564 withval=$with_system_readline; 4553 4565 fi 4554 rm -f conftest*4555 4566 4556 fi4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&54558 $as_echo "$sim_cv_os_cygwin" >&6; }4559 4567 4560 if test x$sim_cv_os_cygwin = xyes; then 4561 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32' 4562 else 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltermcap" >&5 4564 $as_echo_n "checking for main in -ltermcap... " >&6; } 4565 if test "${ac_cv_lib_termcap_main+set}" = set; then : 4566 $as_echo_n "(cached) " >&6 4567 else 4568 ac_check_lib_save_LIBS=$LIBS 4569 LIBS="-ltermcap $LIBS" 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4568 if test "$with_system_readline" = yes; then 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5 4570 $as_echo_n "checking for readline... " >&6; } 4571 save_LIBS="$LIBS" 4572 LIBS="-lreadline $save_LIBS" 4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4571 4574 /* end confdefs.h. */ 4572 4575 4573 4576 /* Override any GCC internal prototype to avoid an error. 4577 Use char because int might match the return type of a GCC 4578 builtin and then its argument prototype would still apply. */ 4579 #ifdef __cplusplus 4580 extern "C" 4581 #endif 4582 char add_history (); 4574 4583 int 4575 4584 main () 4576 4585 { 4577 return main();4586 return add_history (); 4578 4587 ; 4579 4588 return 0; 4580 4589 } 4581 4590 _ACEOF 4582 4591 if ac_fn_c_try_link "$LINENO"; then : 4583 ac_cv_lib_termcap_main=yes 4584 else 4585 ac_cv_lib_termcap_main=no 4586 fi 4587 rm -f core conftest.err conftest.$ac_objext \ 4588 conftest$ac_exeext conftest.$ac_ext 4589 LIBS=$ac_check_lib_save_LIBS 4590 fi 4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_main" >&5 4592 $as_echo "$ac_cv_lib_termcap_main" >&6; } 4593 if test "x$ac_cv_lib_termcap_main" = x""yes; then : 4594 TERMCAP=-ltermcap 4595 else 4596 TERMCAP="" 4597 fi 4598 4599 fi 4600 4601 4602 # We prefer the in-tree readline. Top-level dependencies make sure 4603 # src/readline (if it's there) is configured before src/sim. 4604 if test -r ../../readline/Makefile; then 4605 READLINE=../../readline/libreadline.a 4606 else 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 4608 $as_echo_n "checking for readline in -lreadline... " >&6; } 4609 if test "${ac_cv_lib_readline_readline+set}" = set; then : 4610 $as_echo_n "(cached) " >&6 4592 READLINE=-lreadline 4611 4593 else 4612 ac_check_lib_save_LIBS=$LIBS 4613 LIBS="-lreadline $TERMCAP $LIBS" 4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4594 LIBS="-lreadline -lncurses $save_LIBS" 4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4615 4596 /* end confdefs.h. */ 4616 4597 4617 4598 /* Override any GCC internal prototype to avoid an error. … … 4620 4601 #ifdef __cplusplus 4621 4602 extern "C" 4622 4603 #endif 4623 char readline();4604 char add_history (); 4624 4605 int 4625 4606 main () 4626 4607 { 4627 return readline();4608 return add_history (); 4628 4609 ; 4629 4610 return 0; 4630 4611 } 4631 4612 _ACEOF 4632 4613 if ac_fn_c_try_link "$LINENO"; then : 4633 ac_cv_lib_readline_readline=yes4614 READLINE="-lreadline -lncurses" 4634 4615 else 4635 a c_cv_lib_readline_readline=no4616 as_fn_error "unable to detect readline" "$LINENO" 5 4636 4617 fi 4637 4618 rm -f core conftest.err conftest.$ac_objext \ 4638 4619 conftest$ac_exeext conftest.$ac_ext 4639 LIBS=$ac_check_lib_save_LIBS 4620 4640 4621 fi 4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 4642 $as_echo "$ac_cv_lib_readline_readline" >&6; } 4643 if test "x$ac_cv_lib_readline_readline" = x""yes; then : 4644 READLINE=-lreadline 4645 else 4646 as_fn_error "the required \"readline\" library is missing" "$LINENO" 5 4622 rm -f core conftest.err conftest.$ac_objext \ 4623 conftest$ac_exeext conftest.$ac_ext 4624 LIBS="$save_LIBS" 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE" >&5 4626 $as_echo "$READLINE" >&6; } 4627 READLINE_DEPS= 4628 READLINE_CFLAGS= 4629 else 4630 READLINE='../../readline/libreadline.a -lncurses' 4631 READLINE_DEPS='$(READLINE)' 4632 READLINE_CFLAGS='-I$(READLINE_SRC)/..' 4647 4633 fi 4648 4634 4649 fi 4635 4636 4650 4637 4651 4638 4652 4639 ac_sources="$sim_link_files" -
sim/erc32/configure.ac
diff -Naur gdb-7.0.90.orig/sim/erc32/configure.ac gdb-7.0.90-rtems4.10-20100225/sim/erc32/configure.ac
old new 11 11 12 12 AC_CHECK_HEADERS(stdlib.h) 13 13 14 # In the Cygwin environment, we need some additional flags. 15 AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin, 16 [AC_EGREP_CPP(lose, [ 17 #ifdef __CYGWIN__ 18 lose 19 #endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])]) 14 AC_ARG_WITH([system-readline], 15 [AS_HELP_STRING([--with-system-readline], 16 [use installed readline library])]) 20 17 21 if test x$sim_cv_os_cygwin = xyes; then 22 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32' 18 if test "$with_system_readline" = yes; then 19 AC_MSG_CHECKING([for readline]) 20 save_LIBS="$LIBS" 21 LIBS="-lreadline $save_LIBS" 22 AC_LINK_IFELSE([AC_LANG_CALL([], 23 [add_history])], [READLINE=-lreadline], 24 [ LIBS="-lreadline -lncurses $save_LIBS" 25 AC_LINK_IFELSE([AC_LANG_CALL([], 26 [add_history])], [READLINE="-lreadline -lncurses"], 27 [AC_MSG_ERROR([unable to detect readline])]) 28 ]) 29 LIBS="$save_LIBS" 30 AC_MSG_RESULT($READLINE) 31 READLINE_DEPS= 32 READLINE_CFLAGS= 23 33 else 24 AC_CHECK_LIB(termcap, main, TERMCAP=-ltermcap, TERMCAP="") 25 fi 26 AC_SUBST(TERMCAP) 27 28 # We prefer the in-tree readline. Top-level dependencies make sure 29 # src/readline (if it's there) is configured before src/sim. 30 if test -r ../../readline/Makefile; then 31 READLINE=../../readline/libreadline.a 32 else 33 AC_CHECK_LIB(readline, readline, READLINE=-lreadline, 34 AC_ERROR([the required "readline" library is missing]), $TERMCAP) 34 READLINE='../../readline/libreadline.a -lncurses' 35 READLINE_DEPS='$(READLINE)' 36 READLINE_CFLAGS='-I$(READLINE_SRC)/..' 35 37 fi 36 38 AC_SUBST(READLINE) 39 AC_SUBST(READLINE_DEPS) 40 AC_SUBST(READLINE_CFLAGS) 41 37 42 SIM_AC_OUTPUT -
sim/erc32/erc32.c
diff -Naur gdb-7.0.90.orig/sim/erc32/erc32.c gdb-7.0.90-rtems4.10-20100225/sim/erc32/erc32.c
old new 414 414 if (rom8) mec_memcfg &= ~0x20000; 415 415 else mec_memcfg |= 0x20000; 416 416 417 mem_ramsz = ( 256* 1024) << ((mec_memcfg >> 10) & 7);417 mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7); 418 418 mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7); 419 419 420 420 if (sparclite_board) { -
sim/erc32/Makefile.in
diff -Naur gdb-7.0.90.orig/sim/erc32/Makefile.in gdb-7.0.90-rtems4.10-20100225/sim/erc32/Makefile.in
old new 19 19 20 20 ## COMMON_PRE_CONFIG_FRAG 21 21 22 TERMCAP_LIB = @TERMCAP@ 22 # TERMCAP_LIB = -lncurses 23 23 READLINE_LIB = @READLINE@ 24 24 25 25 SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o 26 26 SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) -lm 27 SIM_EXTRA_ALL = sis 27 SIM_EXTRA_ALL = sis$(EXEEXT) 28 28 SIM_EXTRA_INSTALL = install-sis 29 29 SIM_EXTRA_CLEAN = clean-sis 30 30 … … 38 38 # `sis' doesn't need interf.o. 39 39 SIS_OFILES = exec.o erc32.o func.o help.o float.o 40 40 41 sis : sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)42 $(CC) $(ALL_CFLAGS) -o sis \41 sis$(EXEEXT): sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS) 42 $(CC) $(ALL_CFLAGS) -o sis$(EXEEXT) \ 43 43 sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS) 44 44 45 45 # FIXME: This computes the build host's endianness, doesn't it? … … 52 52 53 53 # Copy the files into directories where they will be run. 54 54 install-sis: installdirs 55 n=`echo sis | sed '$(program_transform_name)'`; \56 $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n $(EXEEXT)55 n=`echo sis$(EXEEXT) | sed '$(program_transform_name)'`; \ 56 $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n 57 57 58 58 clean-sis: 59 rm -f sis end end.h59 rm -f sis$(EXEEXT) end end.h 60 60 61 61 configure: 62 62 @echo "Rebuilding configure..." -
sim/h8300/compile.c
diff -Naur gdb-7.0.90.orig/sim/h8300/compile.c gdb-7.0.90-rtems4.10-20100225/sim/h8300/compile.c
old new 38 38 # define SIGTRAP 5 39 39 #endif 40 40 41 #ifdef _WIN32 42 #ifndef SIGBUS 43 #define SIGBUS 10 44 #endif 45 #endif 46 41 47 int debug; 42 48 43 49 host_callback *sim_callback; -
sim/m32c/Makefile.in
diff -Naur gdb-7.0.90.orig/sim/m32c/Makefile.in gdb-7.0.90-rtems4.10-20100225/sim/m32c/Makefile.in
old new 55 55 ./opc2c -l m32c.out $(srcdir)/m32c.opc > m32c.c 56 56 57 57 opc2c : opc2c.o safe-fgets.o 58 $(CC ) $(CFLAGS) $(LDFLAGS) $^ -o $@58 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $^ -o $@ 59 59 60 60 sample.x : $(srcdir)/sample.S $(srcdir)/sample.ld 61 61 ../../gcc/xgcc $(CPUFLAGS) -B../../gcc/ -c $(srcdir)/sample.S -o sample.o … … 83 83 mem.o : mem.h cpu.h syscalls.h 84 84 misc.o : cpu.h misc.h 85 85 opc2c.o : safe-fgets.h 86 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ -c $(srcdir)/opc2c.c 86 87 reg.o : cpu.h 87 88 safe-fgets.o : safe-fgets.h 89 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ -c $(srcdir)/safe-fgets.c 88 90 srcdest.c : cpu.h mem.h 89 91 syscalls.c : cpu.h mem.h syscalls.h 90 92
Note: See TracBrowser
for help on using the repository browser.