GNU Binutils with patches for OS216
修訂 | cc69bfc1228f165886521e1c0ad8880e7a11e1af (tree) |
---|---|
時間 | 2008-09-06 02:39:00 |
作者 | Paul Pluzhnikov <ppluzhnikov@goog...> |
Commiter | Paul Pluzhnikov |
compile with gcc -fno-inline, lest gcc-4.3.1 optimizes the whole thing away.
@@ -1,3 +1,8 @@ | ||
1 | +2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com> | |
2 | + | |
3 | + *gdb.base/mips_pro.exp: compile with gcc -fno-inline, | |
4 | + lest gcc-4.3.1 optimizes the whole thing away. | |
5 | + | |
1 | 6 | 2008-09-04 Michael Snyder <msnyder@vmware.com> |
2 | 7 | |
3 | 8 | * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well |
@@ -35,7 +35,8 @@ if [get_compiler_info ${binfile}] { | ||
35 | 35 | # This test must be compiled with -O2 if using gcc. |
36 | 36 | |
37 | 37 | if { [test_compiler_info gcc-*-*] } then { |
38 | - if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } { | |
38 | + if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" \ | |
39 | + executable {debug additional_flags=-O2 additional_flags=-fno-inline}] != "" } { | |
39 | 40 | untested mips_pro.exp |
40 | 41 | return -1 |
41 | 42 | } |