Do not set prms_id/bug_id anymore.

2010-05-05  Joel Brobecker  <brobecker@adacore.com>

	Remove the use of prms_id and bug_id throughout the testsuite.
This commit is contained in:
Joel Brobecker 2010-05-05 18:07:04 +00:00
parent af33db377b
commit 02e7ea1823
305 changed files with 13 additions and 656 deletions

View File

@ -1,3 +1,7 @@
2010-05-05 Joel Brobecker <brobecker@adacore.com>
Remove the use of prms_id and bug_id throughout the testsuite.
2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11349.

View File

@ -17,8 +17,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if ![istarget "alpha*-*-*"] then {
verbose "Skipping alpha step tests."

View File

@ -26,8 +26,6 @@ if $tracelevel then {
# This file uses altivec-regs.c for input.
#
set prms_id 0
set bug_id 0
if {![istarget "powerpc*"] || [skip_altivec_tests]} then {
verbose "Skipping altivec register tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget x86_64-*-* ] } {
verbose "Skipping amd64 byte register tests."

View File

@ -21,8 +21,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if ![istarget "x86_64-*-linux*"] then {
verbose "Skipping x86_64 displaced stepping tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget x86_64-*-* ] } {
verbose "Skipping amd64 dword register tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget x86_64-*-* ] } {
verbose "Skipping amd64 word register tests."

View File

@ -25,8 +25,6 @@ if $tracelevel then {
# This file uses e500-abi.c for input.
#
set prms_id 0
set bug_id 0
if ![istarget "powerpc-*eabispe"] then {
verbose "Skipping e500 abi tests."

View File

@ -21,8 +21,6 @@ if $tracelevel {
# Test PowerPC E500 prologue analyzer.
set prms_id 0
set bug_id 0
if ![istarget "powerpc-*"] then {
verbose "Skipping powerpc E500 prologue tests."

View File

@ -25,8 +25,6 @@ if $tracelevel then {
# This file uses e500-regs.c for input.
#
set prms_id 0
set bug_id 0
if ![istarget "powerpc-*eabispe"] then {
verbose "Skipping e500 register tests."

View File

@ -27,8 +27,6 @@ if $tracelevel {
# Test SH backtraces with >256 byte frame stack. (PR:1291)
set prms_id 0
set bug_id 0
if ![istarget "sh-*-*"] then {
verbose "Skipping SH backtrace tests."

View File

@ -29,8 +29,6 @@ if $tracelevel {
# Observe that the until command doesn't go all the way to sub2.
set prms_id 0
set bug_id 0
if ![istarget "sh-*-*"] then {
verbose "Skipping SH backtrace tests."

View File

@ -25,8 +25,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if ![istarget "sh-*-*"] then {
verbose "Skipping SH breakpoint test."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
verbose "Skipping x86 AVX tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget i?86-*-*] } {
verbose "Skipping i386 byte register tests."

View File

@ -21,8 +21,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if ![istarget "i?86-*-linux*"] then {
verbose "Skipping x86 displaced stepping tests."

View File

@ -26,8 +26,6 @@ if $tracelevel {
# Test i386 unwinder.
set prms_id 0
set bug_id 0
if ![istarget "i?86-*-*"] then {
verbose "Skipping i386 unwinder tests."

View File

@ -25,8 +25,6 @@ if $tracelevel {
# Test i386 prologue analyzer.
set prms_id 0
set bug_id 0
if ![istarget "i?86-*-*"] then {
verbose "Skipping i386 prologue tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
verbose "Skipping x86 SSE tests."

View File

@ -24,8 +24,6 @@ if $tracelevel {
# Test i386 unwinder.
set prms_id 0
set bug_id 0
if ![istarget "i?86-*-*"] then {
verbose "Skipping i386 unwinder tests."

View File

@ -22,8 +22,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget i?86-*-*] } {
verbose "Skipping i386 word register tests."

View File

@ -19,8 +19,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# Test handling of nullified instructions for the pa target.

View File

@ -21,8 +21,6 @@ if $tracelevel {
# Test rs6000 prologue analyzer.
set prms_id 0
set bug_id 0
if ![istarget "powerpc-*-aix*"] then {
verbose "Skipping powerpc-aix prologue tests."

View File

@ -24,8 +24,6 @@ if $tracelevel {
# a lwarx/ldarx instruction and ending with a stwcx/stdcx
# instruction.
set prms_id 0
set bug_id 0
if ![istarget "powerpc64-*"] then {
verbose "Skipping testing of powerpc64 single stepping over atomic sequences."

View File

@ -18,8 +18,6 @@
# Contributed by Markus Deuling <deuling@de.ibm.com>.
# Tests for 'info spu' commands.
set prms_id 0
set bug_id 0
if { ![istarget "spu-*-elf"] } then {
verbose "Skipping SPU-only testcase"

View File

@ -18,8 +18,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if { ![istarget i?86-*-linux*] && ![istarget x86_64-*-linux* ] } {
verbose "Skipping system register gcore tests."

View File

@ -24,8 +24,6 @@ if $tracelevel then {
# Test the use of VSX registers, for Powerpc.
#
set prms_id 0
set bug_id 0
if {![istarget "powerpc*"] || [skip_vsx_tests]} then {
verbose "Skipping vsx register tests."

View File

@ -25,8 +25,6 @@ if $tracelevel then {
# This file uses asmsrc[12].s for input.
#
set prms_id 0
set bug_id 0
set asm-arch ""
set asm-note "empty"

View File

@ -28,8 +28,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile a2-run
if { [prepare_for_testing ${testfile}.exp $testfile run.c] } {

View File

@ -30,8 +30,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "all-types"
set srcfile ${testfile}.c

View File

@ -34,8 +34,6 @@ if [is_remote target] then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "annota1"
set srcfile ${testfile}.c

View File

@ -34,8 +34,6 @@ if [is_remote target] then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "annota3"
set srcfile ${testfile}.c

View File

@ -30,8 +30,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "int-type"
set srcfile ${testfile}.c

View File

@ -28,8 +28,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "all-types"
set srcfile ${testfile}.c

View File

@ -21,8 +21,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "async"
set srcfile ${testfile}.c

View File

@ -18,8 +18,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# On HP-UX 11.0, this test is causing a process running the program
# "attach" to be left around spinning. Until we figure out why, I am

View File

@ -29,8 +29,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "auxv"
set srcfile ${testfile}.c

View File

@ -21,8 +21,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# Are we on a target board? As of 2004-02-12, GDB didn't have a
# mechanism that would let it efficiently access a remote corefile.

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "bitfields"
set srcfile ${testfile}.c

View File

@ -27,8 +27,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "bitfields2"
set srcfile ${testfile}.c

View File

@ -30,8 +30,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
gdb_exit

View File

@ -21,8 +21,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "call-ar-st"
set srcfile ${testfile}.c

View File

@ -25,8 +25,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "call-rt-st"
set srcfile ${testfile}.c

View File

@ -22,8 +22,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# Some targets can't call functions, so don't even bother with this
# test.

View File

@ -34,8 +34,6 @@ if [target_info exists gdb,nosignals] {
continue
}
set prms_id 0
set bug_id 0
set testfile "call-signals"
set srcfile ${testfile}.c

View File

@ -27,8 +27,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "call-strs"
set srcfile ${testfile}.c

View File

@ -17,8 +17,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "callexit"
set srcfile ${testfile}.c

View File

@ -21,8 +21,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "callfuncs"
set srcfile ${testfile}.c

View File

@ -23,8 +23,6 @@ if { [is_remote target] || ![isnative] } then {
continue
}
set prms_id 0
set bug_id 0
global srcfile
set testfile "catch-syscall"

View File

@ -24,8 +24,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "charset"
set srcfile ${testfile}.c

View File

@ -28,8 +28,6 @@ if {![istarget "*-*-linux*"]} then {
continue
}
set prms_id 0
set bug_id 0
set testfile "checkpoint"
set srcfile ${testfile}.c

View File

@ -22,8 +22,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# IDT/SIM apparently doesn't have enough file descriptors to allow the
# problem checked by this test to occur.

View File

@ -25,8 +25,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "cvexpr"
set srcfile ${testfile}.c

View File

@ -22,8 +22,6 @@ if $tracelevel then {
#
# test special commands (if, while, etc)
#
set prms_id 0
set bug_id 0
if { [prepare_for_testing commands.exp commands run.c {debug additional_flags=-DFAKEARGV}] } {
return -1

View File

@ -56,8 +56,6 @@ global usestubs
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "break"
set srcfile ${testfile}.c

View File

@ -17,7 +17,6 @@ if $tracelevel then {
strace $tracelevel
}
set bug_id 0
set testfile complex
set srcfile ${testfile}.c

View File

@ -27,8 +27,6 @@ global usestubs
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "break"
set srcfile ${testfile}.c

View File

@ -23,8 +23,6 @@ if $tracelevel then {
# Test breakpoints at consecutive instruction addresses.
#
set prms_id 0
set bug_id 0
set testfile "consecutive"
set srcfile ${testfile}.c

View File

@ -31,8 +31,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "constvars"
set srcfile ${testfile}.c

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# are we on a target board
if ![isnative] then {

View File

@ -17,8 +17,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "cursal"
set srcfile ${testfile}.c

View File

@ -25,8 +25,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "cvexpr"
set srcfile ${testfile}.c

View File

@ -26,8 +26,6 @@ global usestubs
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "break"
set srcfile ${testfile}.c

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile del
set srcfile ${testfile}.c

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# Only GNU/Linux is known to support this.
if { ! [istarget "*-*-linux*"] } {

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "dump"

View File

@ -27,15 +27,4 @@ if $tracelevel then {
# test the echo command
#
# this sets the prms id number. This is the number that will appear
# on all the output logs.
# ex: set prms_id 643
set prms_id 0
# this sets the bug id id. This is the number that will appear
# on all the output logs. This is optional and if it is not set
# it will appear on all output logs as a 0.
# ex: set bug_id 12
set bug_id 0
gdb_test "echo Hello world!\\n" "Hello world!" "Echo test"

View File

@ -25,8 +25,6 @@ global usestubs
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "break"
set srcfile ${testfile}.c

View File

@ -23,8 +23,6 @@ global usestubs
#
# test running programs
#
set prms_id 0
set bug_id 0
# This test exists solely to exercise the "environment" commands for
# code-coverage on HP-UX.

View File

@ -23,8 +23,6 @@ if $tracelevel {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "exprs"
set srcfile ${testfile}.c

View File

@ -25,8 +25,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "fileio"
set srcfile ${testfile}.c

View File

@ -19,8 +19,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# re-use the program from the "return2" test.
if { [prepare_for_testing finish.exp finish return2.c] } {

View File

@ -17,8 +17,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
if {[skip_shlib_tests]} {
return 0

View File

@ -26,8 +26,6 @@ if $tracelevel {
# Test floating-point related functionality.
#
set prms_id 0
set bug_id 0
if { [prepare_for_testing float.exp float run.c] } {
return -1

View File

@ -18,8 +18,6 @@ if { [is_remote target] || ![isnative] } then {
continue
}
set prms_id 0
set bug_id 0
set testfile "foll-exec"
set testfile2 "execd-prog"

View File

@ -18,8 +18,6 @@ if { [is_remote target] || ![isnative] } then {
continue
}
set prms_id 0
set bug_id 0
global srcfile
set testfile "foll-fork"

View File

@ -18,8 +18,6 @@ if { [is_remote target] || ![isnative] } then {
continue
}
set prms_id 0
set bug_id 0
# NOTE drow/2002-12-06: I don't know what the referenced kernel problem
# is, but it appears to be fixed in recent HP/UX versions.

View File

@ -43,8 +43,6 @@
# reproduction recipe is more delicate than I would like. I welcome
# suggestions for improving this.
set prms_id 0
set bug_id 0
set testfile "freebpcmd"
set srcfile ${testfile}.c

View File

@ -20,8 +20,6 @@ if $tracelevel {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "funcargs"
set srcfile ${testfile}.c

View File

@ -19,8 +19,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "gcore-buffer-overflow"
set srcfile ${testfile}.c

View File

@ -21,8 +21,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "gcore"
set srcfile ${testfile}.c

View File

@ -22,8 +22,6 @@ if $tracelevel then {
# test SIGFPE (such as division by 0) inside gdb itself
set prms_id 0
set bug_id 0
gdb_start

View File

@ -25,8 +25,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "gdb1090"
set srcfile ${testfile}.c

View File

@ -23,8 +23,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "gdb11531"

View File

@ -25,8 +25,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "gdb1250"
set srcfile ${testfile}.c

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "gdbvars"
set srcfile ${testfile}.c

View File

@ -15,15 +15,13 @@
# This file is part of the gdb testsuite.
# Test loading of line number information with absolute path in #line, bug 2360.
# Test loading of line number information with absolute path in #line,
# PR symtab/9465.
if $tracelevel then {
strace $tracelevel
}
set prms_id 2360
set bug_id 0
# srcfile is in objdir because we need to machine generate it in order
# to get the correct path in the #line directive.

View File

@ -16,15 +16,12 @@
# This file is part of the gdb testsuite.
# Test loading of line number information with an absolute path with extra
# /'s in #line, bug 2360.
# /'s in #line, PR symtab/9465.
if $tracelevel then {
strace $tracelevel
}
set prms_id 2360
set bug_id 0
# srcfile is in objdir because we need to machine generate it in order
# to get the correct path in the #line directive.

View File

@ -15,15 +15,13 @@
# This file is part of the gdb testsuite.
# Test loading of line number information with relative path in #line, bug 2360.
# Test loading of line number information with relative path in #line,
# PR symtab/9465.
if $tracelevel then {
strace $tracelevel
}
set prms_id 2360
set bug_id 0
# srcfile is in objdir because we need to machine generate it in order
# to get the correct path in the #line directive.

View File

@ -21,8 +21,6 @@
# test gdb help commands
#
set prms_id 0
set bug_id 0
gdb_start

View File

@ -19,8 +19,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
# Define if you want to skip this test
# (could be very time-consuming on remote targets with slow connection).

View File

@ -25,8 +25,6 @@ if { [is_remote target] } then {
continue
}
set prms_id 0
set bug_id 0
set ws "\[ \t\]+"

View File

@ -17,8 +17,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile info-target
if { [prepare_for_testing ${testfile}.exp $testfile start.c] } {

View File

@ -28,8 +28,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile interrupt
set srcfile ${testfile}.c

View File

@ -18,8 +18,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
clear_xfail "*-*-*"

View File

@ -18,8 +18,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile langs
set binfile ${objdir}/${subdir}/${testfile}

View File

@ -81,8 +81,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "lineinc"
set binfile ${objdir}/${subdir}/${testfile}

View File

@ -20,8 +20,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "list"
set binfile ${objdir}/${subdir}/${testfile}

View File

@ -29,8 +29,6 @@ if $tracelevel then {
#
# test running programs
#
set prms_id 0
set bug_id 0
set testfile "int-type"
set srcfile ${testfile}.c

View File

@ -21,8 +21,6 @@ if $tracelevel then {
strace $tracelevel
}
set prms_id 0
set bug_id 0
set testfile "longjmp"
set srcfile ${testfile}.c

Some files were not shown because too many files have changed in this diff Show More