From owner-freebsd-threads@FreeBSD.ORG Wed Jul 25 18:13:50 2012 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81EFF1065672 for ; Wed, 25 Jul 2012 18:13:50 +0000 (UTC) (envelope-from freebsdml@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) by mx1.freebsd.org (Postfix) with ESMTP id 53F8A8FC1E for ; Wed, 25 Jul 2012 18:13:50 +0000 (UTC) Received: from [192.168.1.33] (123.red-81-32-112.dynamicip.rima-tde.net [81.32.112.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 49ACD438BE; Wed, 25 Jul 2012 13:13:49 -0500 (CDT) Message-ID: <50103754.2030501@marino.st> Date: Wed, 25 Jul 2012 20:13:40 +0200 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: Konstantin Belousov References: <50103539.5090200@marino.st> <20120725181043.GP2676@deviant.kiev.zoral.com.ua> In-Reply-To: <20120725181043.GP2676@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-threads@freebsd.org Subject: Re: Signal trampoline frame changed location on FreeBSD 9 AMD64? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 18:13:50 -0000 On 7/25/2012 20:10, Konstantin Belousov wrote: > > From quite some time, the signal trampoline was moved into the separate > 'shared' page. This was done to allow to remove the executable permissions > from the stack mapping. > > BTW, I do see that at least gdb 7.4.1 stock can detect our trampoline. > In-tree gdb indeed have issue understanding signal stack frame. > > The way forward is to implement vdso and add dwarf annotation to the > trampoline code. Thanks for the confirmation, Konstantin. I will review the gdb 7.4.1 code now. Regards, John