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

Unified Diff: gdb/testsuite/gdb.base/varargs.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.base/value-double-free.exp ('k') | gdb/testsuite/gdb.base/vforked-prog.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.base/varargs.exp
diff --git a/gdb/testsuite/gdb.base/varargs.exp b/gdb/testsuite/gdb.base/varargs.exp
index 955c17dec9e8decd5df3491113362172c56f65aa..7a427ff9ba4968255773a1c96c66ef2abde3e018 100644
--- a/gdb/testsuite/gdb.base/varargs.exp
+++ b/gdb/testsuite/gdb.base/varargs.exp
@@ -1,4 +1,4 @@
-# Copyright 1997-2000, 2007-2012 Free Software Foundation, Inc.
+# Copyright 1997-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
@@ -30,9 +30,8 @@
set prototypes 0
-set testfile "varargs"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+
+standard_testfile .c
if [get_compiler_info] {
return -1
@@ -56,10 +55,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
# Start with a fresh gdb.
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${binfile}
gdb_test_no_output "set print sevenbit-strings"
gdb_test_no_output "set print address off"
gdb_test_no_output "set width 0"
@@ -67,7 +63,7 @@ gdb_test_no_output "set width 0"
if [gdb_skip_stdio_test "varargs.exp"] {
# Nothing in this module is testable without printf.
- return;
+ return
}
if ![runto_main] then {
@@ -116,20 +112,15 @@ if [support_complex_tests] {
global gdb_prompt
set test "print find_max_float_real(4, fc1, fc2, fc3, fc4)"
- setup_kfail_for_target gdb/12790 "x86_64-*-*"
- setup_kfail_for_target gdb/12791 "arm*-*-*"
+ setup_kfail gdb/12791 "arm*-*-*"
gdb_test $test ".*= 4 \\+ 4 \\* I" $test
set test "print find_max_double_real(4, dc1, dc2, dc3, dc4)"
- setup_kfail_for_target gdb/12776 "i?86-*-*"
- setup_kfail_for_target gdb/12790 "x86_64-*-*"
- setup_kfail_for_target gdb/12791 "arm*-*-*"
+ setup_kfail gdb/12791 "arm*-*-*"
gdb_test $test ".*= 4 \\+ 4 \\* I" $test
set test "print find_max_long_double_real(4, ldc1, ldc2, ldc3, ldc4)"
- setup_kfail_for_target gdb/12776 "i?86-*-*"
- setup_kfail_for_target gdb/12790 "x86_64-*-*"
- setup_kfail_for_target gdb/12791 "arm*-*-*"
+ setup_kfail gdb/12791 "arm*-*-*"
gdb_test $test ".*= 4 \\+ 4 \\* I" $test
}
« no previous file with comments | « gdb/testsuite/gdb.base/value-double-free.exp ('k') | gdb/testsuite/gdb.base/vforked-prog.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698