From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44793 invoked by alias); 15 Aug 2019 17:49:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 44785 invoked by uid 89); 15 Aug 2019 17:49:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=sk:BINprel, Reading, sk:binprel, H*i:sk:6B4E82F X-HELO: mail-wm1-f54.google.com Received: from mail-wm1-f54.google.com (HELO mail-wm1-f54.google.com) (209.85.128.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Aug 2019 17:49:35 +0000 Received: by mail-wm1-f54.google.com with SMTP id p77so1481933wme.0 for ; Thu, 15 Aug 2019 10:49:35 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id w15sm1847690wmi.19.2019.08.15.10.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 10:49:32 -0700 (PDT) Subject: Re: [PATCH] testsuite: disable break-interp.exp for Arm buildbot To: Alan Hayward References: <20190809092128.94802-1-alan.hayward@arm.com> <6B4E82F7-FCBE-46CC-8769-99C615D80F7E@arm.com> Cc: "gdb-patches@sourceware.org" , nd From: Pedro Alves Message-ID: <3836a7be-d1d4-3b21-6a2b-c98e41bcf52b@redhat.com> Date: Thu, 15 Aug 2019 17:49:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <6B4E82F7-FCBE-46CC-8769-99C615D80F7E@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-08/txt/msg00340.txt.bz2 On 8/12/19 4:53 PM, Alan Hayward wrote: > Agreed. It’s not quite that simple - the failures happen in cases where there > is no debug (eg BINprelinkNOdebugNOpieNO), so there is nowhere I can place > a breakpoint. Even if you have no debug info, you should still be able to put a breakpoint on functions. GDB knows the functions exist from the ELF symbol tables (minsyms): Reading symbols from testsuite/outputs/gdb.base/break-interp/break-interp-BINprelinkNOdebugNOpieNO... (No debugging symbols found in testsuite/outputs/gdb.base/break-interp/break-interp-BINprelinkNOdebugNOpieNO) (gdb) b main Breakpoint 1 at 0x40074b (gdb) Thanks, Pedro Alves