From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20397 invoked by alias); 21 Dec 2011 19:37:44 -0000 Received: (qmail 20386 invoked by uid 22791); 21 Dec 2011 19:37:43 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 19:37:26 +0000 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Dec 2011 19:37:25 -0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com ([9.149.39.193]) by e06smtp15.uk.ibm.com ([192.168.101.145]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Dec 2011 19:37:18 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBLJbHVa2916580 for ; Wed, 21 Dec 2011 19:37:18 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBLJbHwd019953 for ; Wed, 21 Dec 2011 12:37:17 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id pBLJbGUQ019925; Wed, 21 Dec 2011 12:37:16 -0700 Message-Id: <201112211937.pBLJbGUQ019925@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 21 Dec 2011 20:37:16 +0100 Subject: Re: [commit, s390] Fix regression in gdb.base/callfuncs.exp [Re: [commit, s390] Proper handling of PSW address/mask everywhere] To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Wed, 21 Dec 2011 19:41:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20111219225612.GA29085@host2.jankratochvil.net> from "Jan Kratochvil" at Dec 19, 2011 11:56:12 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 11122119-0342-0000-0000-0000006B62A3 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00743.txt.bz2 Jan Kratochvil wrote: > On Mon, 19 Dec 2011 22:49:16 +0100, Ulrich Weigand wrote: > > Tested with no regression (fixing the callfuncs.exp one) on s390x (-m31,-m64). > > Committed to mainline and 7.4 branch. > > Confirming it works, thanks. > > There are yet some regressions of sigstep.exp, I will check them more: Hmm, I'm not seeing this particular symptom you mention below. However, I did see failures on old kernels in 31-bit compat mode only; it turned out these were caused by a kernel bug that is exposed by my GDB change. When the kernel sets up the registers for calling a signal handler, it is supposed to place the return address including the addressing mode bit into register %r14. This does in fact happen in native 31-bit mode. However, in 31-bit compat mode under a 64-bit kernel, the addressing mode bit was not set. This has been fixed at least for regular signal handlers in current git (note that RT signals are still broken). Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com