From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23448 invoked by alias); 9 Mar 2007 10:42:17 -0000 Received: (qmail 23415 invoked by uid 48); 9 Mar 2007 10:42:07 -0000 Date: Fri, 09 Mar 2007 10:42:00 -0000 Message-ID: <20070309104207.23414.qmail@sourceware.org> From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070207161918.3997.mark@klomp.org> References: <20070207161918.3997.mark@klomp.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/3997] SIGTRAP handler gets reset when single stepping X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00592.txt.bz2 List-Id: ------- Additional Comments From mark at klomp dot org 2007-03-09 10:42 ------- According to a comment by roland on https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227693 this isn't a bug, but expected behaviour of ptrace single stepping into sig trap handler (so, I assume it was a bug that this worked on older kernels). Since stepping into a sig trap handler will produce a sig trap signal itself (because that is how ptrace reports the single step action) and the kernel cannot rely on there being a debugger/parent swallowing that second sig trap signal. Note that single stepping into any other signal handler doesn't have this problem. So we will have to come up with a trick to (simulate?) single stepping into a sig trap handler. Leaving this open for now. -- What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=3997 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.