URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-src/gdb-7.1
- from Rev 244 to Rev 248
- ↔ Reverse comparison
Rev 244 → Rev 248
/gdb/testsuite/ChangeLog.or32
0,0 → 1,7
2010-08-25 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* gdb.base/break.exp: Test for breakpoint at marker4, output |
should be identical whether run with or without prototypes. |
* gdb.base/call-sc.exp (test_scalar_returns): When the result of a |
return is unknown, the value returned is undefined, not unchanged. |
|
/gdb/testsuite/gdb.base/call-sc.exp
338,6 → 338,10
# What a suprize. The architecture hasn't implemented |
# return_value, and hence has to fail. |
kfail "$test" gdb/1444 |
} elseif $return_value_unknown { |
# If the return value is unknown, the caller will pick up |
# whatever random value is in the return structure location. |
pass "$test" |
} else { |
fail "$test" |
} |
/gdb/testsuite/gdb.base/break.exp
868,6 → 868,12
|
set bp_location13 [gdb_get_line_number "set breakpoint 13 here" $srcfile1] |
set bp_location14 [gdb_get_line_number "set breakpoint 14 here" $srcfile1] |
|
send_user "bp_location13: $bp_location13\n" |
send_user "bp_location14: $bp_location14\n" |
send_user "decimal: $decimal\n" |
send_user "hex: $hex\n" |
|
send_gdb "continue\n" |
gdb_expect { |
-re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile1:$bp_location13\[\r\n\]+$bp_location13\[\t \]+void marker4.*" { |
876,7 → 882,11
-re "Breakpoint $decimal, $hex in marker4 \\(d=177601976\\) at .*$srcfile1:$bp_location13\[\r\n\]+$bp_location13\[\t \]+void marker4.*" { |
pass "run until breakpoint set at small function, optimized file" |
} |
-re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile1:$bp_location14\[\r\n\]+$bp_location14\[\t \]+void marker4.*" { |
# JPB 21-Aug-10: The default runs w/o prototypes and uses the line |
# above. The output should be identical with prototypes (here), just the |
# line number different. For some reason the text "$hex in" had been |
# omitted. |
-re "Breakpoint $decimal, $hex in marker4 \\(d=177601976\\) at .*$srcfile1:$bp_location14\[\r\n\]+$bp_location14\[\t \]+void marker4.*" { |
# marker4() is defined at line 46 when compiled with -DPROTOTYPES |
pass "run until breakpoint set at small function, optimized file (line bp_location14)" |
} |