- Cosmetic fix of a testcase sanity breakpoint setting (part of BZ 233852).

This commit is contained in:
Jan Kratochvil 2008-03-29 15:31:15 +00:00
parent 7d92950e83
commit 4ebfb44ea4
2 changed files with 13 additions and 3 deletions

View File

@ -3,6 +3,12 @@
* gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp: New files.
2008-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Bugreport by Petr Muller.
* gdb.threads/attach-stopped.exp: Fix the `Second sleep' breakpoint,
add there a comment.
Formerly gdb-6.3-bz202705-attach-stop-20051011-race-fix-test.patch:
gdb.threads/attachstop-mt.exp, gdb.threads/attachstop-mt.c
@ -321,7 +327,7 @@ diff -u -X /home/short/.diffi.list -ruNp gdb-6.5-unpatched/gdb/testsuite/gdb.thr
diff -u -X /home/short/.diffi.list -ruNp gdb-6.5-unpatched/gdb/testsuite/gdb.threads/attach-stopped.exp gdb-6.5/gdb/testsuite/gdb.threads/attach-stopped.exp
--- gdb-6.5-unpatched/gdb/testsuite/gdb.threads/attach-stopped.exp 1970-01-01 01:00:00.000000000 +0100
+++ gdb-6.5/gdb/testsuite/gdb.threads/attach-stopped.exp 2008-01-09 15:26:30.000000000 +0100
@@ -0,0 +1,221 @@
@@ -0,0 +1,222 @@
+# Copyright 2005-2007
+
+# This program is free software; you can redistribute it and/or modify
@ -467,7 +473,8 @@ diff -u -X /home/short/.diffi.list -ruNp gdb-6.5-unpatched/gdb/testsuite/gdb.thr
+ } else {
+ gdb_test "bt" ".*sleep.*main.*" "$threadtype: attach2 to stopped bt"
+ }
+ gdb_breakpoint [gdb_get_line_number "$threadtype: Second sleep"]
+ # This breakpoint is there for old/non-x86 kernels not restarting syscalls.
+ gdb_breakpoint [gdb_get_line_number "Second sleep"]
+ set test "$threadtype: attach2 continue"
+ send_gdb "continue\n"
+ gdb_expect {

View File

@ -13,7 +13,7 @@ Version: 6.8
# 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: 1%{?_with_upstream:.upstream}%{?dist}
Release: 1postcvs%{?_with_upstream:.upstream}%{?dist}
License: GPL
Group: Development/Debuggers
@ -741,6 +741,9 @@ fi
%{_mandir}/*/gdbserver.1*
%changelog
* Sat Mar 29 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-1postcvs
- Cosmetic fix of a testcase sanity breakpoint setting (part of BZ 233852).
* Fri Mar 28 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-1
- Upgrade to the latest upstream final release gdb-6.8.