From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25077 invoked by alias); 8 Dec 2011 08:53:03 -0000 Received: (qmail 25068 invoked by uid 22791); 8 Dec 2011 08:53:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Dec 2011 08:52:48 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id pB88qf19010545; Thu, 8 Dec 2011 09:52:41 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id pB88qcxw000068; Thu, 8 Dec 2011 09:52:38 +0100 (CET) Date: Thu, 08 Dec 2011 08:53:00 -0000 Message-Id: <201112080852.pB88qcxw000068@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: eager@eagerm.com CC: amodra@gmail.com, gdb@sourceware.org, rsa@us.ibm.com In-reply-to: <4EE06B0F.3050202@eagerm.com> (message from Michael Eager on Wed, 07 Dec 2011 23:45:19 -0800) Subject: Re: Next over function with Secure PLT References: <4EE0088C.4070208@eagerm.com> <20111208040118.GB10960@bubble.grove.modra.org> <4EE06B0F.3050202@eagerm.com> 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: 2011-12/txt/msg00010.txt.bz2 > Date: Wed, 07 Dec 2011 23:45:19 -0800 > From: Michael Eager > > > gdb ought to just pattern match the stub code to recognize when the pc > > is in a stub. > > I wanted to avoid pattern matching code because of the dependency it > creates between code generation and debugging. But that shouldn't > be much of an issue or hard to implement. This tends to be less of an issue with PLT stubs since their instruction sequence is in many cases prescribed by the ABI.