From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AF5CC77B73 for ; Sun, 23 Apr 2023 07:37:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbjDWHhe (ORCPT ); Sun, 23 Apr 2023 03:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjDWHhe (ORCPT ); Sun, 23 Apr 2023 03:37:34 -0400 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 061521BEB for ; Sun, 23 Apr 2023 00:37:30 -0700 (PDT) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Q40Tj1P1tz1r1Mh; Sun, 23 Apr 2023 09:37:29 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Q40Tj0p4Qz1qqlS; Sun, 23 Apr 2023 09:37:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id mE5iTSIhMv-Y; Sun, 23 Apr 2023 09:37:28 +0200 (CEST) X-Auth-Info: ShsYz4jigI5nbsQVL6TH0+YYsIZ73Ee12yU3qfa60snwrRXCukcna8B6S15zibaw Received: from tiger.home (aftr-82-135-86-35.dynamic.mnet-online.de [82.135.86.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 23 Apr 2023 09:37:28 +0200 (CEST) Received: by tiger.home (Postfix, from userid 1000) id DA79F196E46; Sun, 23 Apr 2023 09:37:27 +0200 (CEST) From: Andreas Schwab To: Michael Schmitz Cc: Finn Thain , debian-68k@lists.debian.org, linux-m68k@lists.linux-m68k.org Subject: Re: reliable reproducer, was Re: core dump analysis In-Reply-To: <5824d97d-683b-a354-3c39-cb0f54e50bc0@gmail.com> (Michael Schmitz's message of "Sun, 23 Apr 2023 13:41:12 +1200") References: <4a9c1d0d-07aa-792e-921f-237d5a30fc44.ref@yahoo.com> <54597ab3-2776-2a55-9952-3bfbbc329829@linux-m68k.org> <406cb339-0a0c-4d71-9b5c-c11568793c14@gmail.com> <71af7b52-a1d4-581c-d5af-afce6991c48d@gmail.com> <7ea095ba-7df1-1ffe-e87d-12d46ebe72f6@gmail.com> <2fdc2819-526a-756f-19d0-ac1147f85b63@linux-m68k.org> <868b5214-fa13-dcf7-a671-9843169eea06@gmail.com> <87fs8sz6e9.fsf@igel.home> <878rekz0md.fsf@igel.home> <87o7nfyd7e.fsf@igel.home> <87jzy3y79y.fsf@igel.home> <5824d97d-683b-a354-3c39-cb0f54e50bc0@gmail.com> X-Yow: Fold, fold, FOLD!! FOLDING many items!! Date: Sun, 23 Apr 2023 09:37:27 +0200 Message-ID: <878rej2gnc.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.kernel.org On Apr 23 2023, Michael Schmitz wrote: > Hi Andreas, > > Am 23.04.2023 um 08:46 schrieb Andreas Schwab: >> On Apr 23 2023, Michael Schmitz wrote: >> >>> I'll see whether the signal context is available on the stack even if the >>> handler isn't passed that parameter. >> >> The signal context is always on the stack, and used by the >> (rt_)sigreturn syscall. > > True, but at the time the signal handler (sa_handler type) runs, all I > have is the user stack pointer upon entry to the handler. I'll have to > calculate back from that address, if that is possible. The signal handler always receives all three arguments. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."