From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16765 invoked by alias); 1 Feb 2008 00:04:27 -0000 Received: (qmail 16737 invoked by uid 22791); 1 Feb 2008 00:04:23 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 00:03:59 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id m1103uF5095252 for ; Fri, 1 Feb 2008 00:03:56 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1103usd2404448 for ; Fri, 1 Feb 2008 01:03:56 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m1103tlr016523 for ; Fri, 1 Feb 2008 01:03:55 +0100 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m1103tU2016519; Fri, 1 Feb 2008 01:03:55 +0100 Message-Id: <200802010003.m1103tU2016519@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 1 Feb 2008 01:03:55 +0100 Subject: Re: [rfc][2/3] gdbserver bi-arch support: core s390x part To: uweigand@de.ibm.com (Ulrich Weigand) Date: Fri, 01 Feb 2008 00:04:00 -0000 From: "Ulrich Weigand" Cc: drow@false.org (Daniel Jacobowitz), gdb-patches@sourceware.org In-Reply-To: <200801292333.m0TNXXxP020392@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Jan 30, 2008 12:33:33 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2008-02/txt/msg00000.txt.bz2 Grrr, this is what I get for posting untested patches: > + /* Architecture-specific setup after inferior is running. > + This needs to happen after we have attached to the inferior > + and it is stopped for the first time, but before we access > + any inferior registers. */ > + if (new_inferior) > + { > + the_low_target.arch_setup (); > + new_inferior = 1; Obviously, the last line needs to read new_inferior = 0; I've re-tested the new patch set with this fix on s390-ibm-linux and on s390x-ibm-linux (both 64-bit and 31-bit compiler) using gdbserver locally. No regressions. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com