]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.7-testsuite-stable-results.patch
- rel 2
[packages/gdb.git] / gdb-6.7-testsuite-stable-results.patch
index 50273e45d8bc87d060df127de9414dcce1eb38d9..a4c195c6a5273a0e8dccc28ed7d84300b96a3784 100644 (file)
@@ -20,8 +20,10 @@ random FAIL: gdb.base/auxv.exp: matching auxv data from live and gcore
 gdb-6.8.50.20090209/gdb/testsuite/gdb.base/annota1.exp:
 frames-invalid can happen asynchronously.
 
---- ./gdb/testsuite/gdb.base/fileio.c  13 Jun 2006 08:55:22 -0000      1.10
-+++ ./gdb/testsuite/gdb.base/fileio.c  8 Dec 2007 16:04:10 -0000
+Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.base/fileio.c
+===================================================================
+--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.base/fileio.c   2009-10-01 17:39:13.000000000 +0200
++++ gdb-7.1.90.20100711/gdb/testsuite/gdb.base/fileio.c        2010-07-12 11:41:43.000000000 +0200
 @@ -58,6 +58,8 @@ system (const char * string);
  1) Invalid string/command. -  returns 127.  */
  static const char *strerrno (int err);
@@ -69,9 +71,11 @@ frames-invalid can happen asynchronously.
    /* Don't change the order of the calls.  They partly depend on each other */
    test_open ();
    test_write ();
---- ./gdb/testsuite/gdb.base/fileio.exp        23 Aug 2007 18:14:16 -0000      1.12
-+++ ./gdb/testsuite/gdb.base/fileio.exp        8 Dec 2007 16:04:10 -0000
-@@ -46,8 +46,8 @@ if [get_compiler_info ${binfile}] {
+Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.base/fileio.exp
+===================================================================
+--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.base/fileio.exp 2010-06-09 00:58:03.000000000 +0200
++++ gdb-7.1.90.20100711/gdb/testsuite/gdb.base/fileio.exp      2010-07-12 11:42:07.000000000 +0200
+@@ -42,8 +42,8 @@ if [get_compiler_info ${binfile}] {
      return -1;
  }
  
@@ -82,16 +86,16 @@ frames-invalid can happen asynchronously.
  
  set oldtimeout $timeout
  set timeout [expr "$timeout + 60"]
-@@ -88,7 +88,7 @@ gdb_test continue \
- "Opening nonexistant file returns ENOENT"
+@@ -85,7 +85,7 @@ gdb_test continue \
+ gdb_test "continue" ".*" ""
  
- send_gdb "continue\n" ; gdb_expect -re "$gdb_prompt $"
 -catch "system \"chmod -f -w nowrt.fileio.test\""
 +catch "system \"chmod -f -w fileio.dir/nowrt.fileio.test\""
  
  gdb_test continue \
  "Continuing\\..*open 5:.*EACCES$stop_msg" \
-@@ -252,8 +252,8 @@ gdb_test continue \
+@@ -250,8 +250,8 @@ gdb_test continue \
  send_gdb "quit\n"
  send_gdb "y\n"
  
@@ -102,107 +106,3 @@ frames-invalid can happen asynchronously.
  
  set timeout $oldtimeout
  return 0
---- sources/gdb/testsuite/gdb.base/dump.exp-orig       2008-08-28 11:44:40.000000000 +0200
-+++ sources/gdb/testsuite/gdb.base/dump.exp    2008-08-28 11:44:49.000000000 +0200
-@@ -493,8 +493,10 @@ if ![string compare $is64bitonly "no"] t
-   gdb_test "print zero_all ()" "" ""
-   # restore with expressions 
-+  # Address may fit in int32 but its negative result would be 0xffffxxxx for
-+  # 64-bit LONGEST addresses.
-   test_restore_saved_value \
--      "intarr3.srec ${array2_start}-${array_start} &intarray\[3\] &intarray\[4\]" \
-+      "intarr3.srec (long)${array2_start}-${array_start} &intarray\[3\] &intarray\[4\]" \
-       "array partial with expressions" 4 "intarray2\[3\]"
-   gdb_test "print intarray2\[2\] == 0" " = 1" "element 2 not changed, == 4"
---- gdb-6.8.50.20090209/gdb/testsuite/gdb.base/annota1.exp-orig        2009-02-09 16:31:11.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/testsuite/gdb.base/annota1.exp     2009-02-09 21:27:38.000000000 +0100
-@@ -286,7 +286,7 @@ if [target_info exists gdb,nosignals] {
- } else {
-     send_gdb "signal SIGUSR1\n"
-     gdb_expect {
--      -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032breakpoint 2\r\n\r\nBreakpoint 2, \r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nhandle_USR1\r\n\032\032frame-args\r\n \\(\r\n\032\032arg-begin\r\nsig\r\n\032\032arg-name-end\r\n=\r\n\032\032arg-value -\r\n$decimal\r\n\032\032arg-end\r\n\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n${escapedsrcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*annota1.c:.*:.*:beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
-+      -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\r\n(\r\n\032\032frames-invalid\r\n)*\r\n\032\032breakpoint 2\r\n\r\nBreakpoint 2, \r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nhandle_USR1\r\n\032\032frame-args\r\n \\(\r\n\032\032arg-begin\r\nsig\r\n\032\032arg-name-end\r\n=\r\n\032\032arg-value -\r\n$decimal\r\n\032\032arg-end\r\n\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n${escapedsrcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*annota1.c:.*:.*:beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
-           { pass "send SIGUSR1" }
-       -re "\r\n\032\032post-prompt\r\nContinuing with signal SIGUSR1.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032breakpoint 2\r\n\r\nBreakpoint 2, \r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nhandle_USR1\r\n\032\032frame-args\r\n \\(\r\n\032\032arg-begin\r\nsig\r\n\032\032arg-name-end\r\n=\r\n\032\032arg-value -\r\n$decimal\r\n\032\032arg-end\r\n\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*${srcfile}\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n.*\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*annota1.c:.*:.*:beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \
-           { setup_xfail "*-*-*" 1270
---- ./gdb/testsuite/gdb.base/auxv.exp  2009-02-11 00:54:54.000000000 +0100
-+++ ./gdb/testsuite/gdb.base/auxv.exp  2009-02-11 00:51:30.000000000 +0100
-@@ -78,8 +78,10 @@ proc fetch_auxv {test} {
-     set auxv_lines {}
-     set bad -1
-+    # Former trailing `\[\r\n\]+' may eat just \r leaving \n in the buffer
-+    # corrupting the next matches.
-     if {[gdb_test_multiple "info auxv" $test {
--      -re "info auxv\[\r\n\]+" {
-+      -re "info auxv\r\n" {
-           exp_continue
-       }
-       -ex "The program has no auxiliary information now" {
-@@ -94,20 +96,20 @@ proc fetch_auxv {test} {
-           set bad 1
-           exp_continue
-       }
--      -re "^\[0-9\]+\[ \t\]+(AT_\[^ \t\]+)\[^\r\n\]+\[\r\n\]+" {
-+      -re "^\[0-9\]+\[ \t\]+(AT_\[^ \t\]+)\[^\r\n\]+\r\n" {
-           lappend auxv_lines $expect_out(0,string)
-           exp_continue
-       }
--      -re "^\[0-9\]+\[ \t\]+\\?\\?\\?\[^\r\n\]+\[\r\n\]+" {
-+      -re "^\[0-9\]+\[ \t\]+\\?\\?\\?\[^\r\n\]+\r\n" {
-           warning "Unrecognized tag value: $expect_out(0,string)"
-           set bad 1
-           lappend auxv_lines $expect_out(0,string)
-           exp_continue
-       }
--      -re ".*$gdb_prompt $" {
-+      -re "$gdb_prompt $" {
-           incr bad
-       }
--      -re "^\[^\r\n\]+\[\r\n\]+" {
-+      -re "^\[^\r\n\]+\r\n" {
-           if {!$bad} {
-               warning "Unrecognized output: $expect_out(0,string)"
-               set bad 1
---- ./gdb/testsuite/gdb.base/callfuncs.exp     2009-01-03 06:58:03.000000000 +0100
-+++ ./gdb/testsuite/gdb.base/callfuncs.exp     2009-02-11 00:51:42.000000000 +0100
-@@ -249,15 +249,17 @@ proc fetch_all_registers {test} {
-     set all_registers_lines {}
-     set bad -1
-+    # Former trailing `\[\r\n\]+' may eat just \r leaving \n in the buffer
-+    # corrupting the next matches.
-     if {[gdb_test_multiple "info all-registers" $test {
--      -re "info all-registers\[\r\n\]+" {
-+      -re "info all-registers\r\n" {
-           exp_continue
-       }
-       -ex "The program has no registers now" {
-           set bad 1
-           exp_continue
-       }
--      -re "^bspstore\[ \t\]+\[^\r\n\]+\[\r\n\]+" {
-+      -re "^bspstore\[ \t\]+\[^\r\n\]+\r\n" {
-           if [istarget "ia64-*-*"] {
-               # Filter out bspstore which is specially tied to bsp,
-               # giving spurious differences.
-@@ -266,14 +268,14 @@ proc fetch_all_registers {test} {
-           }
-           exp_continue
-       }
--      -re "^\[^ \t\]+\[ \t\]+\[^\r\n\]+\[\r\n\]+" {
-+      -re "^\[^ \t\]+\[ \t\]+\[^\r\n\]+\r\n" {
-           lappend all_registers_lines $expect_out(0,string)
-           exp_continue
-       }
--      -re ".*$gdb_prompt $" {
-+      -re "$gdb_prompt $" {
-           incr bad
-       }
--      -re "^\[^\r\n\]+\[\r\n\]+" {
-+      -re "^\[^\r\n\]+\r\n" {
-           if {!$bad} {
-               warning "Unrecognized output: $expect_out(0,string)"
-               set bad 1
This page took 0.094808 seconds and 4 git commands to generate.