From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111162 invoked by alias); 12 Oct 2017 18:10:41 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 111134 invoked by uid 89); 12 Oct 2017 18:10:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:984 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (158.69.185.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Oct 2017 18:10:39 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Enable gdb.base/inferior-died.exp on is_remote target boards From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <4e04f0450f83d8d0ad08579b5e6c8b4e8a8e693f@gdb-build> Date: Thu, 12 Oct 2017 18:10:00 -0000 X-SW-Source: 2017-q4/txt/msg01287.txt.bz2 *** TEST RESULTS FOR COMMIT 4e04f0450f83d8d0ad08579b5e6c8b4e8a8e693f *** Author: Pedro Alves Branch: master Commit: 4e04f0450f83d8d0ad08579b5e6c8b4e8a8e693f Enable gdb.base/inferior-died.exp on is_remote target boards We support follow-fork in the remote protocol nowadays. Also, the right way to enable non-stop mode is to do it before connecting, and for use_gdb_stub boards, that means we have to do it at gdb_load time. The "modern" pattern for that is to pass non-stop in GDBFLAGS. This makes the test pass with --target_board=native-gdbserver. gdb/testsuite/ChangeLog: 2017-10-12 Pedro Alves Simon Marchi * gdb.base/inferior-died.exp: Remove is_remote and isnative checks. Use build_executable + clean_restart instead of prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead of enabling non-stop after starting gdb.