Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: gdb/testsuite/gdb.arch/pa-nullify.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.arch/mips16-thunks-sinmips16.c ('k') | gdb/testsuite/gdb.arch/powerpc-aix-prologue.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.arch/pa-nullify.exp
diff --git a/gdb/testsuite/gdb.arch/pa-nullify.exp b/gdb/testsuite/gdb.arch/pa-nullify.exp
index e3223d98000080e5a6d3883b6cbf96ad7fd29442..0910c54d963fc2b2ce5cf05953fbef0969624e31 100644
--- a/gdb/testsuite/gdb.arch/pa-nullify.exp
+++ b/gdb/testsuite/gdb.arch/pa-nullify.exp
@@ -1,4 +1,4 @@
-# Copyright 2004, 2007-2012 Free Software Foundation, Inc.
+# Copyright 2004-2013 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
@@ -107,26 +107,8 @@ gdb_test "stepi" "in main.*" "stepi to main"
proc gen_core { test } {
global gcorefile
- global gdb_prompt
- set gcore_works 0
- set escapedfilename [string_to_regexp $gcorefile]
-
- # gcore is not yet implemented for HPUX
- setup_xfail hppa*-*-hpux*
-
- gdb_test_multiple "gcore $gcorefile" "$test: gcore" {
- -re "Saved corefile ${escapedfilename}\[\r\n\]+$gdb_prompt $" {
- pass "$test: gcore"
- set gcore_works 1
- }
- -re "Undefined command.*$gdb_prompt $" {
- fail "$test: gcore (undefined command)"
- }
- -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
- fail "$test: gcore (can't create corefile)"
- }
- }
+ set gcore_works [gdb_gcore_cmd $gcorefile "$test: gcore"]
return $gcore_works
}
« no previous file with comments | « gdb/testsuite/gdb.arch/mips16-thunks-sinmips16.c ('k') | gdb/testsuite/gdb.arch/powerpc-aix-prologue.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698