]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb.base/interrupt.exp: Use send_inferior/$inferior_spawn_id
authorPedro Alves <palves@redhat.com>
Tue, 7 Apr 2015 17:19:31 +0000 (18:19 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 7 Apr 2015 17:29:12 +0000 (18:29 +0100)
commitb97fde9213b9217499959f7aebbf076b00c7008b
tree2c51766ac2a63a99e6781090f493cc913d5d090e
parentf71c18e755dac28c61a5e5c94fbc8a84eb573679
gdb.base/interrupt.exp: Use send_inferior/$inferior_spawn_id

The gdb.base/interrupt.exp test is important for testing system call
restarting, but because it depends on inferior I/O, it ends up skipped
against gdbserver.  This patch adjusts the test to use send_inferior
and $inferior_spawn_id so it works against GDBserver.

gdb/testsuite/ChangeLog:
2015-04-07  Pedro Alves  <palves@redhat.com>

* gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
$gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
interact with inferior program.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/interrupt.exp