[patch, testsuite] fix problems in gdb.base/paginate-bg-execution.exp

Sandra Loosemore sandra@codesourcery.com
Fri Sep 18 19:53:00 GMT 2015


This patch addresses a couple of problems in 
gdb.base/paginate-bg-execution.exp:

(1) A different "Quit" message can appear in some cases, e.g. if GDB 
thinks the terminal doesn't support job control -- see the definition of 
quit in utils.c.  The specific situation where I tripped over this was 
running GDB in a CMD.EXE shell on a remote Windows host via ssh -T.

(2) The test was sending a ^C interrupt without testing whether the 
target had the nointerrupts property set.

OK to commit?  (I'm not sure this one qualifies as obvious.)

-Sandra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: paginate.log
Type: text/x-log
Size: 192 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150918/e2a2682c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paginate.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150918/e2a2682c/attachment-0001.bin>


More information about the Gdb-patches mailing list