* gdb.base/nostdlib.exp: Skip on gdb_stub targets.

* gdb.base/watch-vfork.exp: Skip on remote targets.
This commit is contained in:
Ulrich Weigand 2011-08-04 15:00:50 +00:00
parent d4f5bbb99f
commit a1e28cb2af
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
* gdb.base/watch-vfork.exp: Skip on remote targets.
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.threads/thread-find.exp: Support remote targets.

View File

@ -18,6 +18,14 @@ set srcfile ${testfile}.c
set executable ${testfile}
set binfile ${objdir}/${subdir}/${executable}
# If we're using a stub, breakpoints at the entry point will not trigger.
# See also the comment in break-entry.exp.
if [target_info exists use_gdb_stub] {
untested ${testfile}.exp
return
}
# default_target_compile would otherwise add "-lm" making the testcase
# dependent on whether the system libraries are already prelinked.
# prelink: Could not set /lib64/libm-2.11.1.so owner or mode: Operation not permitted

View File

@ -15,6 +15,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# There's no support for vfork events in the remote protocol.
if { [is_remote target] } {
return 0
}
global srcfile
set testfile "watch-vfork"
if { [build_executable ${testfile}.exp ${testfile} ${testfile}.c {debug}] } {