aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-08-04 15:00:50 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-08-04 15:00:50 +0000
commita1e28cb2af1ec61d0dea8c9280e52e7153df2df8 (patch)
treedd3817d836032cf4e8daaddae3afccebfbd31657 /gdb/testsuite/gdb.base
parentd4f5bbb99f86e3b502d1d4b08086fc9aab668867 (diff)
downloadbinutils-a1e28cb2af1ec61d0dea8c9280e52e7153df2df8.zip
binutils-a1e28cb2af1ec61d0dea8c9280e52e7153df2df8.tar.gz
binutils-a1e28cb2af1ec61d0dea8c9280e52e7153df2df8.tar.bz2
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
* gdb.base/watch-vfork.exp: Skip on remote targets.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/nostdlib.exp8
-rw-r--r--gdb/testsuite/gdb.base/watch-vfork.exp5
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/nostdlib.exp b/gdb/testsuite/gdb.base/nostdlib.exp
index d61e02c..84cb943 100644
--- a/gdb/testsuite/gdb.base/nostdlib.exp
+++ b/gdb/testsuite/gdb.base/nostdlib.exp
@@ -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
diff --git a/gdb/testsuite/gdb.base/watch-vfork.exp b/gdb/testsuite/gdb.base/watch-vfork.exp
index 8d6265a..27a28a5 100644
--- a/gdb/testsuite/gdb.base/watch-vfork.exp
+++ b/gdb/testsuite/gdb.base/watch-vfork.exp
@@ -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}] } {