diff options
author | Paul Gilliam <pgilliam@us.ibm.com> | 2005-04-27 21:45:16 +0000 |
---|---|---|
committer | Paul Gilliam <pgilliam@us.ibm.com> | 2005-04-27 21:45:16 +0000 |
commit | 8c8f4ebeffe0c98b8435188eeb73b58c592bf890 (patch) | |
tree | 7466d5527fb189c16d5acfd241ca4f66ec5aa7c6 /gdb/testsuite | |
parent | ab576d8501cbde3aaa5ec4da594d6ea614f27195 (diff) | |
download | gdb-8c8f4ebeffe0c98b8435188eeb73b58c592bf890.zip gdb-8c8f4ebeffe0c98b8435188eeb73b58c592bf890.tar.gz gdb-8c8f4ebeffe0c98b8435188eeb73b58c592bf890.tar.bz2 |
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/annota1.exp | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 349cce6..78d0c07 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-04-27 Paul Gilliam <pgilliam@us.ibm.com> + + * gdb.base/annota1.exp : Deal with messages caused by breakpoints in + shared objects being adjusted and update copyright years. + 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com> * ChangeLog: Correct some 2003-01-13 dates. diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index a521aea..2fcd7b5 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -1,4 +1,4 @@ -# Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software +# Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -229,6 +229,8 @@ send_gdb "break printf\n" gdb_expect { -re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \ { pass "breakpoint printf" } + -re "\r\n\032\032post-prompt\r\nwarning: Breakpoint address adjusted from $hex to $hex.\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \ + { pass "breakpoint printf"} -re ".*$gdb_prompt$" { fail "break printf" } timeout { fail "break printf (timeout)" } } @@ -240,6 +242,9 @@ send_gdb "continue\n" gdb_expect { -re "\r\n\032\032post-prompt\r\nContinuing.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032breakpoint 3\r\n\r\nBreakpoint 3, \r\n\032\032frame-begin 0 $hex\r\n\r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*\032\032frame-function-name\r\nprintf\r\n\032\032frame-args\r\n.*\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \ { pass "continue to printf" } + -re "\r\n\032\032post-prompt\r\nContinuing.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\nwarning: Breakpoint 3 address previously adjusted from $hex to $hex.\r\n\r\n\032\032breakpoint 3\r\n\r\nBreakpoint 3, \r\n\032\032frame-begin 0 $hex\r\n\r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*.*\032\032frame-function-name\r\n.printf\r\n\032\032frame-args\r\n.*\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \ + { pass "continue to printf" } + -re ".*$gdb_prompt$" { fail "continue to printf" } timeout { fail "continue to printf (timeout)" } } |