From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9039 invoked by alias); 11 Jan 2012 17:38:37 -0000 Received: (qmail 8910 invoked by uid 22791); 11 Jan 2012 17:38:35 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from caibbdcaaaaf.dreamhost.com (HELO homiemail-a92.g.dreamhost.com) (208.113.200.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jan 2012 17:38:20 +0000 Received: from homiemail-a92.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a92.g.dreamhost.com (Postfix) with ESMTP id 93C383DC06B; Wed, 11 Jan 2012 09:38:20 -0800 (PST) Received: from redwood.eagercon.com (c-76-102-3-160.hsd1.ca.comcast.net [76.102.3.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by homiemail-a92.g.dreamhost.com (Postfix) with ESMTPSA id 6236D3DC065; Wed, 11 Jan 2012 09:38:20 -0800 (PST) Message-ID: <4F0DC90B.6010408@eagerm.com> Date: Wed, 11 Jan 2012 17:38:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Pedro Alves CC: Mark Kettenis , gdb@sourceware.org Subject: Re: gdbarch_skip_solib_resolver question References: <4F0C9AD3.2000807@eagerm.com> <4e8cbd44794a5d98bc46a882c1379405.squirrel@webmail.xs4all.nl> <4F0DC166.2040603@eagerm.com> <4F0DC326.2090803@redhat.com> In-Reply-To: <4F0DC326.2090803@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00044.txt.bz2 On 01/11/2012 09:13 AM, Pedro Alves wrote: > On 01/11/2012 05:05 PM, Michael Eager wrote: > >> Unless I'm reading the code wrong, I don't think this can ever return >> non-zero. This is called from handle_inferior_event (infrun.c:4754) >> when in_solib_dynsym_resolve_code() is true. This means that the >> pc points to the start of a PLT stub. > > That's not the only time in_solib_dynsym_resolve_code returns true, > see svr4_in_dynsym_resolve_code. It returns true as well when the > PC is within the interpreter / dynamic linker's text. Yes, I just noticed this. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077