]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 4 Aug 2011 15:00:50 +0000 (15:00 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 4 Aug 2011 15:00:50 +0000 (15:00 +0000)
* gdb.base/watch-vfork.exp: Skip on remote targets.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/nostdlib.exp
gdb/testsuite/gdb.base/watch-vfork.exp

index dcc63dfcc51d756029c496b7db4613202fa07d0e..532f59f9ff009a4dea382a8a1adb251253cdf089 100644 (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.
index d61e02c046e3f075e4d40e1899921b4fcd67f28f..84cb943f53ba79cbd9c2e72c9432960563cc53f4 100644 (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
index 8d6265ae8cc001ec1b25b542df2170c315d6ad01..27a28a531b8f643085fabe308bfc2b750f9366b6 100644 (file)
 # 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}] } {