diff options
author | Tom Tromey <tromey@redhat.com> | 2009-03-26 23:30:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-03-26 23:30:12 +0000 |
commit | 56ef84b1f160a25c6f41c0778192f2642d250624 (patch) | |
tree | 372db62586a820f70111c4d1f627f32656d59be6 /gdb/testsuite/gdb.mi/mi2-break.exp | |
parent | a5321aa4d5bcbe30b94819727445a506e4fbe4b1 (diff) | |
download | gdb-56ef84b1f160a25c6f41c0778192f2642d250624.zip gdb-56ef84b1f160a25c6f41c0778192f2642d250624.tar.gz gdb-56ef84b1f160a25c6f41c0778192f2642d250624.tar.bz2 |
gdb
* breakpoint.c (resolve_sal_pc): Preserve original line number
when skipping prologue.
gdb/testsuite
Update for change to prologue skipping:
* gdb.mi/mi2-simplerun.exp: Update.
* gdb.mi/mi2-break.exp: Update.
* gdb.mi/mi-simplerun.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.base/ending-run.exp: Update.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-break.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-break.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-break.exp b/gdb/testsuite/gdb.mi/mi2-break.exp index d08081a..7f43315 100644 --- a/gdb/testsuite/gdb.mi/mi2-break.exp +++ b/gdb/testsuite/gdb.mi/mi2-break.exp @@ -85,11 +85,11 @@ proc test_tbreak_creation_and_listing {} { mi_create_breakpoint "-t basics.c:callee2" 2 del callee2 ".*basics.c" $line_callee2_body $hex \ "insert temp breakpoint at basics.c:callee2" - mi_create_breakpoint "-t basics.c:$line_callee3_head" 3 del callee3 ".*basics.c" $line_callee3_body $hex \ + mi_create_breakpoint "-t basics.c:$line_callee3_head" 3 del callee3 ".*basics.c" $line_callee3_head $hex \ "insert temp breakpoint at basics.c:\$line_callee3_head" # Getting the quoting right is tricky. That is "\"<file>\":$line_callee4_head" - mi_create_breakpoint "-t \"\\\"${srcfile}\\\":$line_callee4_head\"" 4 del callee4 ".*basics.c" $line_callee4_body $hex \ + mi_create_breakpoint "-t \"\\\"${srcfile}\\\":$line_callee4_head\"" 4 del callee4 ".*basics.c" $line_callee4_head $hex \ "insert temp breakpoint at \"<fullfilename>\":\$line_callee4_head" mi_gdb_test "666-break-list" \ |