From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121043 invoked by alias); 1 Jul 2015 12:33:15 -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 121028 invoked by uid 89); 1 Jul 2015 12:33:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 01 Jul 2015 12:33:14 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 7A9F6AEF25 for ; Wed, 1 Jul 2015 12:33:13 +0000 (UTC) Received: from [10.36.112.46] (ovpn-112-46.ams2.redhat.com [10.36.112.46]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t61CXBid028186; Wed, 1 Jul 2015 08:33:12 -0400 Message-ID: <5593DE07.3090506@redhat.com> Date: Wed, 01 Jul 2015 12:33:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Jan Kratochvil , gdb-patches@sourceware.org Subject: Re: [patch] debug compile: Replace confusing debug message References: <20150701122048.GA7170@host1.jankratochvil.net> In-Reply-To: <20150701122048.GA7170@host1.jankratochvil.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00016.txt.bz2 On 01/07/15 13:20, Jan Kratochvil wrote: > Hi, > > It was found that > > (gdb) set debug compile 1 > (gdb) compile code 1 > [...] > allocated 0x7f bytes at 0x7ffff7ff9000 prot 5 > allocated 0x38 bytes at 0x7ffff7ff8000 prot 1 > lookup undefined ELF symbol "_GLOBAL_OFFSET_TABLE_" > allocated 0x10 bytes at 0x7ffff7ff7000 for registers > (gdb) _ > > the message 'lookup undefined ELF symbol' looks as an error to people, > including to myself once. > > -> > allocated 0x7f bytes at 0x7ffff7ff9000 prot 5 > allocated 0x38 bytes at 0x7ffff7ff8000 prot 1 > ELF symbol "_GLOBAL_OFFSET_TABLE_" relocated to zero > allocated 0x10 bytes at 0x7ffff7ff7000 for registers > (gdb) _ > Fine by me Cheers Phil