rpms/gdb/devel gdb-6.3-step-thread-exit-20050211-test.patch, 1.1, 1.2 gdb-6.6-testsuite-timeouts.patch, 1.1, 1.2 gdb.spec, 1.312, 1.313

Jan Kratochvil jkratoch at fedoraproject.org
Sun Nov 9 21:04:29 UTC 2008


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9966

Modified Files:
	gdb-6.3-step-thread-exit-20050211-test.patch 
	gdb-6.6-testsuite-timeouts.patch gdb.spec 
Log Message:
* Sun Nov  9 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-30
- Fix a race in the testcase `gdb.threads/step-thread-exit.exp'.


gdb-6.3-step-thread-exit-20050211-test.patch:

Index: gdb-6.3-step-thread-exit-20050211-test.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-step-thread-exit-20050211-test.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.3-step-thread-exit-20050211-test.patch	21 Jun 2007 05:22:01 -0000	1.1
+++ gdb-6.3-step-thread-exit-20050211-test.patch	9 Nov 2008 21:04:28 -0000	1.2
@@ -62,7 +62,7 @@
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
 +++ gdb-6.5/gdb/testsuite/gdb.threads/step-thread-exit.exp	2006-07-12 03:22:30.000000000 -0300
-@@ -0,0 +1,113 @@
+@@ -0,0 +1,123 @@
 +# This testcase is part of GDB, the GNU debugger.
 +
 +# Copyright 2005 Free Software Foundation, Inc.
@@ -137,7 +137,17 @@
 +  }
 +}
 +
-+gdb_test "bt" ".*sleep.*main.*$sleep_line.*" "backtrace after step 1"
++# Without this fixup we could end up in:
++# #0  0x00110416 in __kernel_vsyscall ()
++# #1  0x0011de26 in __lll_unlock_wake_private () from /lib/libpthread.so.0
++# #2  0x001179f4 in _L_unlock_3164 () from /lib/libpthread.so.0
++# #3  0x00116f01 in pthread_create@@GLIBC_2.1 () from /lib/libpthread.so.0
++# #4  0x08048531 in main () at ../.././gdb/testsuite/gdb.threads/step-thread-exit.c:39
++gdb_breakpoint "$sleep_line"
++gdb_test "set repeat=1" "" "Get to the sleep function prepare 1"
++gdb_test "continue" "Break.*$sleep_line.*" "Get to the sleep function 1"
++
++gdb_test "bt" "main.*$sleep_line.*" "backtrace after step 1"
 +
 +runto_main
 +gdb_breakpoint "$sleep_line"

gdb-6.6-testsuite-timeouts.patch:

Index: gdb-6.6-testsuite-timeouts.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.6-testsuite-timeouts.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.6-testsuite-timeouts.patch	7 Jun 2007 18:31:29 -0000	1.1
+++ gdb-6.6-testsuite-timeouts.patch	9 Nov 2008 21:04:28 -0000	1.2
@@ -38,5 +38,5 @@
  }
 +set timeout $timeout_old
  
- gdb_test "bt" ".*sleep.*main.*$sleep_line.*" "backtrace after step 1"
- 
+ # Without this fixup we could end up in:
+ # #0  0x00110416 in __kernel_vsyscall ()


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.312
retrieving revision 1.313
diff -u -r1.312 -r1.313
--- gdb.spec	9 Nov 2008 14:39:26 -0000	1.312
+++ gdb.spec	9 Nov 2008 21:04:28 -0000	1.313
@@ -13,7 +13,7 @@
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 29%{?_with_upstream:.upstream}%{?dist}
+Release: 30%{?_with_upstream:.upstream}%{?dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -892,6 +892,9 @@
 %endif
 
 %changelog
+* Sun Nov  9 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-30
+- Fix a race in the testcase `gdb.threads/step-thread-exit.exp'.
+
 * Sun Nov  9 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-29
 - Fix more the variable-length-arrays support (BZ 468266, feature BZ 377541).
 - Integrate the `bt full' protection (for BZ 466901) into the VLA patch.




More information about the fedora-extras-commits mailing list