mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/m-static.exp: Compile one source file at a time. Delete unused call to get_compiler_info.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
|
* gdb.cp/m-static.exp: Compile one source file at a time.
|
||||||
|
Delete unused call to get_compiler_info.
|
||||||
|
|
||||||
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
|
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
|
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2002 Free Software Foundation, Inc.
|
# Copyright 2002, 2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -33,16 +33,22 @@ set prms_id 0
|
|||||||
set bug_id 0
|
set bug_id 0
|
||||||
|
|
||||||
set testfile "m-static"
|
set testfile "m-static"
|
||||||
set srcfile ${testfile}.cc
|
set srcfile "${srcdir}/${subdir}/${testfile}.cc"
|
||||||
set srcfile1 ${testfile}1.cc
|
set srcfile1 "${srcdir}/${subdir}/${testfile}1.cc"
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
set objfile "${objdir}/${subdir}/${testfile}.o"
|
||||||
|
set objfile1 "${objdir}/${subdir}/${testfile}1.o"
|
||||||
|
set binfile "${objdir}/${subdir}/${testfile}"
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile} ${srcdir}/${subdir}/${srcfile1}" "${binfile}" executable {debug c++}] != "" } {
|
if { [gdb_compile "${srcfile}" "${objfile}" object {debug c++}] != "" } {
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
if [get_compiler_info ${binfile} "c++"] {
|
if { [gdb_compile "${srcfile1}" "${objfile1}" object {debug c++}] != "" } {
|
||||||
return -1
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
|
}
|
||||||
|
|
||||||
|
if { [gdb_compile "${objfile} ${objfile1}" "${binfile}" executable {debug c++}] != "" } {
|
||||||
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_exit
|
gdb_exit
|
||||||
|
Reference in New Issue
Block a user