diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-17 23:33:39 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-17 23:33:39 +0000 |
commit | 375fc9838201e2dfe78c9b9ac1e3aaecdc1e9f43 (patch) | |
tree | 9307cac720d1defb1edc684dcd89bb2e5c151761 /gdb/testsuite | |
parent | 3ab9460d38e10baff7b3203a6423533c48ace33f (diff) | |
download | gdb-375fc9838201e2dfe78c9b9ac1e3aaecdc1e9f43.zip gdb-375fc9838201e2dfe78c9b9ac1e3aaecdc1e9f43.tar.gz gdb-375fc9838201e2dfe78c9b9ac1e3aaecdc1e9f43.tar.bz2 |
Change behavour of internal-error to quit and dump core by default.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/maint.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 99e7c55..642a56c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-01-17 Andrew Cagney <ac131313@redhat.com> + + * gdb.base/maint.exp: Update ``maint internal-error'' to match + continue/quit query. Update copyright. + 2002-01-13 Daniel Jacobowitz <drow@mvista.com> * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp index f4d2577..1ccc712 100644 --- a/gdb/testsuite/gdb.base/maint.exp +++ b/gdb/testsuite/gdb.base/maint.exp @@ -1,4 +1,4 @@ -# Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -660,8 +660,8 @@ gdb_expect { send_gdb "maint internal-error\n" gdb_expect { - -re "Continue this debugging session.*\\(y or n\\) $" { - send_gdb "y\n" + -re "Quit this debugging session.*\\(y or n\\) $" { + send_gdb "n\n" gdb_expect { -re "Create a core file.*\\(y or n\\) $" { send_gdb "n\n" |