diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-02-27 20:29:31 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-02-27 20:29:31 +0000 |
commit | b40e7bf371ed0fb604e3907327b32ef6f039c4c9 (patch) | |
tree | b2cc68a34dfc469fff956a6148b8a1f89a595bd1 /gdb/testsuite/gdb.mi/mi2-break.exp | |
parent | * breakpoint.c (skip_prologue_sal): New function. (diff) | |
download | binutils-gdb-b40e7bf371ed0fb604e3907327b32ef6f039c4c9.tar.gz binutils-gdb-b40e7bf371ed0fb604e3907327b32ef6f039c4c9.tar.bz2 binutils-gdb-b40e7bf371ed0fb604e3907327b32ef6f039c4c9.zip |
* gdb.base/ending-run.exp: Use the first line of code inside
function body to test breakpoints.
* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
location where the breakpoint is inserted when using the line
where a function is declared. Fix typo in the description of
one of the tests.
* gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-break.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-break.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-break.exp b/gdb/testsuite/gdb.mi/mi2-break.exp index 9b102aea297..97dca4ff530 100644 --- a/gdb/testsuite/gdb.mi/mi2-break.exp +++ b/gdb/testsuite/gdb.mi/mi2-break.exp @@ -88,12 +88,12 @@ proc test_tbreak_creation_and_listing {} { "insert temp breakpoint at basics.c:callee2" mi_gdb_test "444-break-insert -t basics.c:$line_callee3_head" \ - "444\\^done,bkpt=\{number=\"3\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"$hex\",func=\"callee3\",file=\".*basics.c\",${fullname},line=\"$line_callee3_head\",times=\"0\"\}" \ - "insert temp breakpoint at basics.c:\$line_callee3_body" + "444\\^done,bkpt=\{number=\"3\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"$hex\",func=\"callee3\",file=\".*basics.c\",${fullname},line=\"$line_callee3_body\",times=\"0\"\}" \ + "insert temp breakpoint at basics.c:\$line_callee3_head" # Getting the quoting right is tricky. That is "\"<file>\":$line_callee4_head" mi_gdb_test "555-break-insert -t \"\\\"${srcfile}\\\":$line_callee4_head\"" \ - "555\\^done,bkpt=\{number=\"4\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"$hex\",func=\"callee4\",file=\".*basics.c\",${fullname},line=\"$line_callee4_head\",times=\"0\"\}" \ + "555\\^done,bkpt=\{number=\"4\",type=\"breakpoint\",disp=\"del\",enabled=\"y\",addr=\"$hex\",func=\"callee4\",file=\".*basics.c\",${fullname},line=\"$line_callee4_body\",times=\"0\"\}" \ "insert temp breakpoint at \"<fullfilename>\":\$line_callee4_head" mi_gdb_test "666-break-list" \ |