From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15367 invoked by alias); 29 Nov 2004 15:37:31 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15357 invoked from network); 29 Nov 2004 15:37:27 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 29 Nov 2004 15:37:27 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iATFbHIN002887 for ; Mon, 29 Nov 2004 10:37:22 -0500 Received: from localhost.redhat.com (vpn50-72.rdu.redhat.com [172.16.50.72]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iATFbBr16941; Mon, 29 Nov 2004 10:37:11 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9D784129D8C; Mon, 29 Nov 2004 10:36:29 -0500 (EST) Message-ID: <41AB41FB.1010104@redhat.com> Date: Mon, 29 Nov 2004 15:45:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Ulrich Weigand Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: PTRACE_SINGLESTEP into signal handler References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00254.txt.bz2 Ulrich Weigand wrote: > > > > Daniel Jacobowitz wrote on 11/28/2004 12:28:14 AM: > > >>I'm pretty sure that the answer is yes - we should stop on the first >>instruction. It does seem a little strange as a behavior when >>requesting single-step to step no instructions, but we have no other >>way to get to the beginning of the handler. i386 was changed recently. Yes, I, Roland, Woodhouse (and?) have been quietly working through this for PPC, amd64 and i386; I guess it's time to make some noise ;-) > Ok; so we'll change the s390 kernel to also stop at the beginning of > the handler. I've asked Martin to push the patch upstream. Ref: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133799 Andrew