* gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip

if gdb,nosignals.
	* gdb.base/watchpoints.c: Do not include unnecessary headers.
	* lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
	exited".
This commit is contained in:
Daniel Jacobowitz 2010-03-24 21:20:39 +00:00
parent 6bf5e0ba81
commit 2390201f4b
5 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
if gdb,nosignals.
* gdb.base/watchpoints.c: Do not include unnecessary headers.
* lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
exited".
2010-03-24 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.exp: Expect "trace frame", with a space.

View File

@ -29,6 +29,11 @@ if [target_info exists gdb,noinferiorio] {
continue
}
if [target_info exists gdb,nosignals] {
verbose "Skipping call-signal-resume.exp because of nosignals."
continue
}
set prms_id 0
set bug_id 0

View File

@ -22,6 +22,11 @@ if [target_info exists gdb,noinferiorio] {
continue
}
if [target_info exists gdb,nosignals] {
verbose "Skipping unwindonsignal.exp because of nosignals."
continue
}
set prms_id 0
set bug_id 0

View File

@ -21,9 +21,6 @@
/* This source is mainly to test what happens when a watchpoint is
removed while another watchpoint, inserted later is left active. */
#include <stdio.h>
#include <unistd.h>
int count = -1;
int ival1 = -1;
int ival2 = -1;

View File

@ -747,7 +747,7 @@ proc gdb_test_multiple { command message user_code } {
fail "$errmsg"
set result -1
}
-re "EXIT code \[0-9\r\n\]+Program exited normally.*$gdb_prompt $" {
-re "Program exited normally.*$gdb_prompt $" {
if ![string match "" $message] then {
set errmsg "$message (the program exited)"
} else {