Avoid producing broken non-native core files
authorMaciej W. Rozycki <macro@codesourcery.com>
Thu, 24 Oct 2013 19:37:49 +0000 (20:37 +0100)
committerTom Tromey <tromey@sourceware.org>
Fri, 25 Oct 2013 14:03:00 +0000 (14:03 +0000)
commitbbe769cc07aa1b1b0f4ede05c189a2d9897603bb
tree81a47277793b9f86c0db32c08cece90d249ba2db
parent72ee449576f27ec95de5d03c868a14372e0250cb
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.
gdb/ChangeLog
gdb/linux-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp