From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19174 invoked by alias); 6 Apr 2004 17:48:10 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19160 invoked from network); 6 Apr 2004 17:48:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Apr 2004 17:48:03 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i36Hm25F005471 for ; Tue, 6 Apr 2004 13:48:02 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i36Hm2j20574; Tue, 6 Apr 2004 13:48:02 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 48E2B2B9C; Tue, 6 Apr 2004 13:48:05 -0400 (EDT) Message-ID: <4072ED55.6010007@gnu.org> Date: Tue, 06 Apr 2004 17:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Use frame_type for sigtramp test in infrun.c References: <200403292338.BAA16799@faui1d.informatik.uni-erlangen.de> <406DD226.1080104@gnu.org> <20040403000855.GF871@gnat.com> <406E0CEA.7040906@gnu.org> <20040406014818.GN871@gnat.com> <20040406162150.GT871@gnat.com> In-Reply-To: <20040406162150.GT871@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00147.txt.bz2 > - || in_prologue (stop_pc, ecs->stop_func_start)) > - && !IN_SOLIB_RETURN_TRAMPOLINE (stop_pc, ecs->stop_func_name)) > - || IN_SOLIB_CALL_TRAMPOLINE (stop_pc, ecs->stop_func_name) > - || ecs->stop_func_name == 0) > + if (frame_id_eq (get_frame_id (get_prev_frame (get_current_frame ())), > + step_frame_id)) based on other discussion, I suspect the test will need to be: if (frame_id_inner (this_frame_id, step_frame_id) || frame_id_eq (....)) the former is to handle a signal delivery that resumed the inferior at the signal handler and not the signal trampoline. Andrew