projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs variables defining change...
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.threads
/
thread_check.exp
diff --git
a/gdb/testsuite/gdb.threads/thread_check.exp
b/gdb/testsuite/gdb.threads/thread_check.exp
index 8b9b8ef02d4f1a87194bf04bc960c3edf3e043b8..51cb7320af783ac9bbf6a2c5eeff36d846a9f83b 100644
(file)
--- a/
gdb/testsuite/gdb.threads/thread_check.exp
+++ b/
gdb/testsuite/gdb.threads/thread_check.exp
@@
-1,4
+1,4
@@
-# Copyright (C) 2004
, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
+# Copyright (C) 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
# 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
@@
-31,27
+31,19
@@
# - delete all breakpoints
# - exit gdb.
# - delete all breakpoints
# - exit gdb.
-if $tracelevel then {
- strace $tracelevel
-}
-
-set testfile "thread_check"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile
-if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable
[list debug "incdir=${objdir}"]
] != "" } {
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable
debug
] != "" } {
return -1
}
return -1
}
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${binfile}
if ![runto_main] then {
fail "Can't run to main"
if ![runto_main] then {
fail "Can't run to main"
- return 1
;
+ return 1
}
}
This page took
0.025188 seconds
and
4
git commands to generate.