diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-06 15:21:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-06 15:21:24 +0000 |
commit | 2d338fa948bca672c696ce23da905bddbbc374b4 (patch) | |
tree | 4c68d87ba638c046c890a6557c436f051f995edc /gdb/testsuite/gdb.base/auxv.exp | |
parent | 234fa27ce099ad5ef763209f8818fc2bf499f26c (diff) | |
download | gdb-2d338fa948bca672c696ce23da905bddbbc374b4.zip gdb-2d338fa948bca672c696ce23da905bddbbc374b4.tar.gz gdb-2d338fa948bca672c696ce23da905bddbbc374b4.tar.bz2 |
* gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
* gdb.python/py-strfns.exp (test_strfns_core_file): Use
gdb_gcore_cmd.
* gdb.cell/gcore.exp: Use gdb_gcore_cmd.
* gdb.base/gcore.exp: Use gdb_gcore_cmd.
* gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
* gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
* gdb.base/auxv.exp: Use gdb_gcore_cmd.
* gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
* gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
* gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
* lib/gdb.exp (gdb_gcore_cmd): New proc.
Diffstat (limited to 'gdb/testsuite/gdb.base/auxv.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/auxv.exp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index 16f12c7..0c7bac4 100644 --- a/gdb/testsuite/gdb.base/auxv.exp +++ b/gdb/testsuite/gdb.base/auxv.exp @@ -127,20 +127,7 @@ proc fetch_auxv {test} { set live_data [fetch_auxv "info auxv on live process"] # Now try gcore. -set gcore_works 0 -set escapedfilename [string_to_regexp $gcorefile] -gdb_test_multiple "gcore $gcorefile" "gcore" { - -re "Saved corefile ${escapedfilename}\[\r\n\]+$gdb_prompt $" { - pass "gcore" - set gcore_works 1 - } - -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" { - unsupported "gcore" - } - -re "Undefined command: .*\[\r\n\]+$gdb_prompt $" { - unsupported "gcore" - } -} +set gcore_works [gdb_gcore_cmd "$gcorefile" "gcore"] # Let the program continue and die. gdb_test continue ".*Program received signal.*" |