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.
This commit is contained in:
Elena Zannoni 1999-01-15 19:10:52 +00:00
parent 7269d43e10
commit 7930c920e4
6 changed files with 55 additions and 0 deletions

View File

@ -1,3 +1,16 @@
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.

View File

@ -22,6 +22,7 @@ if $tracelevel then {
strace $tracelevel
}
set testfile1 "average"
set testfile2 "sum"
set testfile "dbx-test"
@ -43,6 +44,10 @@ if { [gdb_compile "${binfile1}.o ${binfile2}.o" ${binfile} executable {debug}]
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

View File

@ -35,6 +35,22 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
}
# 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
@ -144,3 +160,6 @@ watchpoint_command_test

View File

@ -33,6 +33,11 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
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.
#

View File

@ -23,6 +23,7 @@ if $tracelevel then {
strace $tracelevel
}
global usestubs
#
@ -38,6 +39,11 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
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

View File

@ -49,6 +49,13 @@ if { [gdb_compile "${binfile}0.o ${binfile}1.o" ${binfile} executable {debug}]
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"