From: Nathan Sidwell Date: Fri, 23 Jun 2006 10:21:03 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: gdb-csl-sourcerygxx-4_1-13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54709be2f5816ec4d0a2a6dc50408ba116669f8e;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite/ * lib/gdb.exp (gdb_load_cmd): Fix variable name typo * config/unknown.exp: Check gdb_board_support before claiming it is not supported. --- diff --git a/ChangeLog.csl b/ChangeLog.csl index d93fd4c6d3f..91d5a6cca5f 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,10 @@ +2006-06-23 Nathan Sidwell + + gdb/testsuite/ + * lib/gdb.exp (gdb_load_cmd): Fix variable name typo + * config/unknown.exp: Check gdb_board_support before claiming it + is not supported. + 2006-06-22 Daniel Jacobowitz gdb/testsuite/: @@ -11,8 +18,8 @@ 2006-06-19 Nathan Sidwell - * gdb/testsuite/ - gdb.base/recurse.exp: Revert my 2006-06-09 patch. Rely on test + gdb/testsuite/ + * gdb.base/recurse.exp: Revert my 2006-06-09 patch. Rely on test harness to set number of hardware watchpoints. 2006-06-15 Daniel Jacobowitz diff --git a/gdb/testsuite/config/unknown.exp b/gdb/testsuite/config/unknown.exp index f61e5af030f..f81c5866281 100644 --- a/gdb/testsuite/config/unknown.exp +++ b/gdb/testsuite/config/unknown.exp @@ -17,5 +17,9 @@ # Please email any bugs, comments, and/or additions to this file to: # bug-gdb@prep.ai.mit.edu -perror "Sorry, there is no support for this target" -exit 1 +# Perhaps the board file set things up for us +if {![board_info $board exists gdb_board_support] \ + || ![board_info $board gdb_board_support]} { + perror "Sorry, there is no support for this target" + exit 1 +} diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index eca2a504666..755b76d2dca 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1880,7 +1880,6 @@ proc gdb_load_cmd { args } { set loadtimeout 1600 } send_gdb "load $args\n" - verbose "Timeout is now $timeout seconds" 2 gdb_expect $loadtimeout { -re "Loading section\[^\r\]*\r\n" { exp_continue