diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2013-10-24 20:37:49 +0100 |
---|---|---|
committer | Tom Tromey <tromey@sourceware.org> | 2013-10-25 14:03:00 +0000 |
commit | bbe769cc07aa1b1b0f4ede05c189a2d9897603bb (patch) | |
tree | 81a47277793b9f86c0db32c08cece90d249ba2db /gdb/testsuite/lib/gdb.exp | |
parent | 72ee449576f27ec95de5d03c868a14372e0250cb (diff) | |
download | gdb-bbe769cc07aa1b1b0f4ede05c189a2d9897603bb.zip gdb-bbe769cc07aa1b1b0f4ede05c189a2d9897603bb.tar.gz gdb-bbe769cc07aa1b1b0f4ede05c189a2d9897603bb.tar.bz2 |
Avoid producing broken non-native core files
gdb/
* linux-tdep.c (linux_corefile_thread_callback): Propagate any
failure from register information collection.
gdb/testsuite/
* lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
support core file generation" reply.
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index bde4e48..e4a6134 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3183,7 +3183,7 @@ proc gdb_gcore_cmd {core test} { verbose -log "'gcore' command undefined in gdb_gcore_cmd" } - -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" { + -re "(?:Can't create a corefile|Target does not support core file generation\\.)\[\r\n\]+$gdb_prompt $" { unsupported $test } } |