diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-12-17 21:03:48 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-12-17 21:03:48 +0000 |
commit | b9891b29d8c2f8c2ad8ed59ca38612e3cd92a748 (patch) | |
tree | 8b09e872fe9f9d7698099e991ae19359d9819d1a /gdb/testsuite | |
parent | 47a849606f1fc77878c39dc31feef5ff87f0c57c (diff) | |
download | gdb-b9891b29d8c2f8c2ad8ed59ca38612e3cd92a748.zip gdb-b9891b29d8c2f8c2ad8ed59ca38612e3cd92a748.tar.gz gdb-b9891b29d8c2f8c2ad8ed59ca38612e3cd92a748.tar.bz2 |
* gdb.base/corefile.exp: Recognize the message saying that GDB
can't find the core file's registers as a failure.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/corefile.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bd768ce..80e8d31 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-12-17 Jim Blandy <jimb@redhat.com> + + * gdb.base/corefile.exp: Recognize the message saying that GDB + can't find the core file's registers as a failure. + 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com> * gdb.base/commands.exp (user_defined_command_test): Make "show user" diff --git a/gdb/testsuite/gdb.base/corefile.exp b/gdb/testsuite/gdb.base/corefile.exp index 3d6bf5b..e25c03c 100644 --- a/gdb/testsuite/gdb.base/corefile.exp +++ b/gdb/testsuite/gdb.base/corefile.exp @@ -110,6 +110,9 @@ set timeout [expr "$timeout + 60"] verbose "Timeout is now $timeout seconds" 2 eval "spawn $GDB -nw $GDBFLAGS -core=$objdir/$subdir/corefile" expect { + -re "Couldn't find .* registers in core file.*$gdb_prompt $" { + fail "args: -core=corefile (couldn't find regs)" + } -re "Core was generated by .*coremaker.*\r\n\#0 .*\(\).*\r\n$gdb_prompt $" { pass "args: -core=corefile" } |