diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2019-03-17 08:32:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-12 10:57:56 -0600 |
commit | ca2589f3bbad1e151abbb293d4c43a87b7a4d5ec (patch) | |
tree | 287c25a9bd478d471fd720f5e1a7b2f755b73b0e /readline/MANIFEST | |
parent | c15a79c78cc0111296b487de3fa59365f13df3bc (diff) | |
download | gdb-ca2589f3bbad1e151abbb293d4c43a87b7a4d5ec.zip gdb-ca2589f3bbad1e151abbb293d4c43a87b7a4d5ec.tar.gz gdb-ca2589f3bbad1e151abbb293d4c43a87b7a4d5ec.tar.bz2 |
Fix gdb's selftest.exp after readline import
After the sync there is one testsuite regression, the test
"signal SIGINT" in gdb.gdb/selftest.exp which now FAILs. Previously,
the readline 6.2 SIGINT handler would temporarily reinstall the
underlying application's SIGINT handler and immediately re-raise SIGINT
so that the orginal handler gets invoked. But now (since readline 6.3)
its SIGINT handler does not re-raise SIGINT or directly invoke the
original handler; it now sets a flag marking that SIGINT was raised, and
waits until readline explicitly has control to call the application's
SIGINT handler. Anyway, because SIGINT is no longer re-raised from
within readline's SIGINT handler, doing "signal SIGINT" with a stopped
inferior gdb process will no longer resume and then immediately stop the
process (since there is no 2nd SIGINT to immediately catch). Instead,
the inferior gdb process will now just print "Quit" and continue to run.
So with this commit, this particular test case is adjusted to reflect
this change in behavior (we now have to send a 2nd SIGINT manually to
stop it).
gdb/testsuite/ChangeLog
2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
* gdb.gdb/selftest.exp (test_with_self): Update test to now
expect the GDB inferior to no longer immediately stop after
being resumed with "signal SIGINT".
Diffstat (limited to 'readline/MANIFEST')
0 files changed, 0 insertions, 0 deletions