mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 12:33:36 +08:00
* gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
This commit is contained in:
parent
fdcac5af29
commit
787d21e15a
@ -1,3 +1,7 @@
|
||||
2009-09-02 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
|
||||
|
||||
2009-09-02 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gdb.dwarf2/callframecfa.exp: New file.
|
||||
|
@ -44,8 +44,12 @@ gdb_start
|
||||
gdb_reinitialize_dir $srcdir/$subdir
|
||||
gdb_load ${binfile}
|
||||
|
||||
gdb_test "break *func" "Breakpoint 1.*" "set breakpoint for call-frame-cfa"
|
||||
gdb_test "run" "" "run for call-frame-cfa"
|
||||
if ![runto_main] {
|
||||
return -1
|
||||
}
|
||||
|
||||
gdb_test "break *func" "Breakpoint 2.*" "set breakpoint for call-frame-cfa"
|
||||
gdb_continue_to_breakpoint "continue to breakpoint for call-frame-cfa"
|
||||
gdb_test "display arg" "arg = 77" "set display for call-frame-cfa"
|
||||
|
||||
# We know how many instructions are in the function. Note that we
|
||||
|
Loading…
Reference in New Issue
Block a user