From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45864 invoked by alias); 28 Apr 2015 11:34:32 -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 45852 invoked by uid 89); 28 Apr 2015 11:34:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 28 Apr 2015 11:34:30 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Use exec_file_find to prepend gdb_sysroot in follow_exec From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: Date: Tue, 28 Apr 2015 11:34:00 -0000 X-SW-Source: 2015-q2/txt/msg03238.txt.bz2 *** TEST RESULTS FOR COMMIT ff862be47e7acf51e4abaf0f121d5961adb1845a *** Author: Gary Benson Branch: master Commit: ff862be47e7acf51e4abaf0f121d5961adb1845a Use exec_file_find to prepend gdb_sysroot in follow_exec This commit updates follow_exec to use exec_file_find to prefix the new executable's filename with gdb_sysroot rather than doing it longhand. gdb/ChangeLog: * infrun.c (solist.h): New include. (follow_exec): Use exec_file_find to prefix execd_pathname with gdb_sysroot.