mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 03:54:29 +00:00
compile with gcc -fno-inline, lest gcc-4.3.1 optimizes the whole thing away.
This commit is contained in:
parent
87805e6373
commit
cc69bfc122
@ -1,3 +1,8 @@
|
||||
2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
*gdb.base/mips_pro.exp: compile with gcc -fno-inline,
|
||||
lest gcc-4.3.1 optimizes the whole thing away.
|
||||
|
||||
2008-09-04 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
|
||||
|
@ -35,7 +35,8 @@ if [get_compiler_info ${binfile}] {
|
||||
# This test must be compiled with -O2 if using gcc.
|
||||
|
||||
if { [test_compiler_info gcc-*-*] } then {
|
||||
if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } {
|
||||
if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" \
|
||||
executable {debug additional_flags=-O2 additional_flags=-fno-inline}] != "" } {
|
||||
untested mips_pro.exp
|
||||
return -1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user