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-simplerun.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-simplerun.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-simplerun.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-simplerun.exp b/gdb/testsuite/gdb.mi/mi2-simplerun.exp index eddb2ed..13443ee 100644 --- a/gdb/testsuite/gdb.mi/mi2-simplerun.exp +++ b/gdb/testsuite/gdb.mi/mi2-simplerun.exp @@ -74,10 +74,10 @@ proc test_breakpoints_creation_and_listing {} { mi_create_breakpoint "basics.c:callee2" 2 keep callee2 ".*basics.c" $line_callee2_body $hex \ "insert breakpoint at basics.c:callee2" - mi_create_breakpoint "basics.c:$line_callee3_head" 3 keep callee3 ".*basics.c" $line_callee3_body $hex \ + mi_create_breakpoint "basics.c:$line_callee3_head" 3 keep callee3 ".*basics.c" $line_callee3_head $hex \ "insert breakpoint at basics.c:\$line_callee3_head" - mi_create_breakpoint "\"\\\"${srcfile}\\\":$line_callee4_head\"" 4 keep callee4 ".*basics.c" $line_callee4_body $hex \ + mi_create_breakpoint "\"\\\"${srcfile}\\\":$line_callee4_head\"" 4 keep callee4 ".*basics.c" $line_callee4_head $hex \ "insert breakpoint at \"<fullfilename>\":\$line_callee4_head" mi_gdb_test "204-break-list" \ |