* gdb.arch/i386-prologue.exp: Add checks for saved registers.
This commit is contained in:
parent
9407de8ede
commit
161afb2472
|
@ -1,3 +1,7 @@
|
||||||
|
2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
|
||||||
|
|
||||||
|
* gdb.arch/i386-prologue.exp: Add checks for saved registers.
|
||||||
|
|
||||||
2003-08-30 Michael Chastain <mec@shout.net>
|
2003-08-30 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
|
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
|
||||||
|
|
|
@ -61,6 +61,10 @@ gdb_test "backtrace 10" \
|
||||||
"#0\[ \t\]*$hex in gdb1253.*\r\n#1\[ \t\]*$hex in main.*" \
|
"#0\[ \t\]*$hex in gdb1253.*\r\n#1\[ \t\]*$hex in main.*" \
|
||||||
"backtrace in gdb1253"
|
"backtrace in gdb1253"
|
||||||
|
|
||||||
|
gdb_test "info frame" \
|
||||||
|
".*Saved registers:.*ebp at.*edi at.*eip at.*" \
|
||||||
|
"saved registers in gdb1253"
|
||||||
|
|
||||||
# Testcase from backtrace/1338.
|
# Testcase from backtrace/1338.
|
||||||
|
|
||||||
gdb_test "continue" "Program received signal SIGTRAP.*" "continue to gdb1338"
|
gdb_test "continue" "Program received signal SIGTRAP.*" "continue to gdb1338"
|
||||||
|
@ -68,3 +72,7 @@ gdb_test "continue" "Program received signal SIGTRAP.*" "continue to gdb1338"
|
||||||
gdb_test "backtrace 10" \
|
gdb_test "backtrace 10" \
|
||||||
"#0\[ \t\]*$hex in gdb1338.*\r\n#1\[ \t\]*$hex in main.*" \
|
"#0\[ \t\]*$hex in gdb1338.*\r\n#1\[ \t\]*$hex in main.*" \
|
||||||
"backtrace in gdb1338"
|
"backtrace in gdb1338"
|
||||||
|
|
||||||
|
gdb_test "info frame" \
|
||||||
|
".*Saved registers:.*ebx at.*esi at.*edi at.*eip at.*" \
|
||||||
|
"saved registers in gdb1338"
|
||||||
|
|
Loading…
Reference in New Issue