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

Unified Diff: gdb/testsuite/gdb.opt/inline-bt.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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.opt/inline-break.exp ('k') | gdb/testsuite/gdb.opt/inline-cmds.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.opt/inline-bt.exp
diff --git a/gdb/testsuite/gdb.opt/inline-bt.exp b/gdb/testsuite/gdb.opt/inline-bt.exp
index 6b356905ed738799d37bb05356f4f0259c5d1d74..8eecd35872aae44371d933acbf55affc491901d4 100644
--- a/gdb/testsuite/gdb.opt/inline-bt.exp
+++ b/gdb/testsuite/gdb.opt/inline-bt.exp
@@ -13,28 +13,17 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-set testfile "inline-bt"
-set srcfile ${testfile}.c
-set srcfile2 "inline-markers.c"
-set fullsrcfile "${srcdir}/${subdir}/${srcfile}"
-set fullsrcfile2 "${srcdir}/${subdir}/${srcfile2}"
-set sources [list ${fullsrcfile} ${fullsrcfile2}]
-set binfile ${objdir}/${subdir}/${testfile}
-
-if { [gdb_compile ${sources} ${binfile} \
- executable {debug optimize=-O2 additional_flags=-Winline}] != "" } {
- untested inline-bt.exp
+standard_testfile .c inline-markers.c
+
+if {[prepare_for_testing $testfile.exp $testfile \
+ [list $srcfile $srcfile2] \
+ {debug optimize=-O2 additional_flags=-Winline}]} {
return -1
}
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
-
runto_main
-get_compiler_info $binfile
+get_compiler_info
get_debug_format
if { [skip_inline_frame_tests] } {
untested inline-bt.exp
« no previous file with comments | « gdb/testsuite/gdb.opt/inline-break.exp ('k') | gdb/testsuite/gdb.opt/inline-cmds.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698