+Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform 
+       and compiled w/o GCC. 
+
+       * gdb.hp/watch-hp.exp: ditto.
+
+       * gdb.hp/xdb1.exp: ditto.
+
+       * gdb.hp/xdb2.exp: ditto.
+
+       * gdb.hp/dbx.exp: ditto.
+
 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
 
        * constvars.c: Remove C++-isms.
 
         strace $tracelevel
 }
 
+
 set testfile1 "average"
 set testfile2 "sum"
 set testfile "dbx-test"
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
 
 proc dbx_reinitialize_dir { subdir } {
     global gdb_prompt
 
 
 }
 
+# are we on a target board
+if ![isnative] then {
+    return
+}
+
+if {![istarget "hppa*-*-hpux10.30"] && ![istarget "hppa*-*-hpux11.*"]} {
+    #setup_xfail "*-*.*"
+    return 0
+}
+
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
+
 gdb_exit
 gdb_start
 delete_breakpoints
 
 
 
+
+
+
 
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
 # Prepare for watchpoint tests by setting up two breakpoints and one
 # watchpoint.
 #
 
         strace $tracelevel
         }
 
+
 global usestubs
 
 #
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
 global GDBFLAGS
 set saved_gdbflags $GDBFLAGS
 
 
     return -1
 }
 
+
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
+
 global GDBFLAGS
 set saved_gdbflags $GDBFLAGS
 set GDBFLAGS "$GDBFLAGS --xdb"