Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
gdb.5469
gdb-testsuite-readline63-sigint.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdb-testsuite-readline63-sigint.patch of Package gdb.5469
gdb/users/ppalka/readline-7.0-update commit 379059215e823555a37a8dc7e02cef8fd86566e4 https://sourceware.org/ml/gdb-patches/2015-07/msg00422.html Message-Id: <1436927724-4059-1-git-send-email-patrick@parcs.ath.cx> https://bugzilla.redhat.com/show_bug.cgi?id=1301175 Index: gdb-7.10.50.20160131/gdb/testsuite/gdb.gdb/selftest.exp =================================================================== --- gdb-7.10.50.20160131.orig/gdb/testsuite/gdb.gdb/selftest.exp 2016-01-31 19:44:47.156963419 +0100 +++ gdb-7.10.50.20160131/gdb/testsuite/gdb.gdb/selftest.exp 2016-01-31 19:45:11.245135173 +0100 @@ -458,9 +458,25 @@ } set description "send SIGINT signal to child process" - gdb_test "signal SIGINT" \ - "Continuing with signal SIGINT.*" \ - "$description" + gdb_test_multiple "signal SIGINT" "$description" { + -re "^signal SIGINT\r\nContinuing with signal SIGINT.\r\nQuit\r\n" { + pass "$description" + } + } + + set description "send ^C to child process again" + send_gdb "\003" + gdb_expect { + -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" { + pass "$description" + } + -re ".*$gdb_prompt $" { + fail "$description" + } + timeout { + fail "$description (timeout)" + } + } # Switch back to the GDB thread if Guile support is linked in. # "signal SIGINT" could also switch the current thread.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor