From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by sourceware.org (Postfix) with ESMTPS id 3BA123858C53 for ; Sun, 27 Aug 2023 01:19:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3BA123858C53 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-570d0567929so1224533eaf.0 for ; Sat, 26 Aug 2023 18:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693099144; x=1693703944; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=79uCZBdWm/NcSxZzek7x+as1PRL49TPnQQ5cbeCGyDQ=; b=SvBa44+00rgoR9Wmtc8gwFpuK8fVtB6g881hT/Azk39az6dQYTmze58vNqLSp8hbXv mYzJK9wSa16bTeqjbiByxLa7i72DPqo3p5rqEkHQJmKMMxVq8irkxJJF9QznCFyzy2Km VryOT6bHpYT2fHSjzEUQcI4WCyoFUIe9JwUKgOK7PWgI+EWBdJmQQGvE9m1KxFJsn7ox C0Ugrw3nCln4y9JD1uIKSPV4EhJCl2XU2rGmtl0GOlj/hNbGxBd5kyLEO24d9oNz5HmB zTnX8Zux1/oZsecNB+80agJff4AmDU2LxbIHVfkBOgx9apX4HPEl9oHz8XaAqnTHmOEQ Malw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693099144; x=1693703944; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=79uCZBdWm/NcSxZzek7x+as1PRL49TPnQQ5cbeCGyDQ=; b=e7sBUY+98OvTnMcJTrhOavMKqKelHbP7oQGoh1mgP01tyUOVE1FwNRO04zYnPacIBZ 5DJ1VeUwRuelqhB+h7uJXXuvXYOVQR24NoiuEqOVN5MRbJD7C63Ko6gIEsJBU2M5m10W hOgWXFW4SMT01wuA5D4W2mw+gZ4Qu2I4XGz61bkeFhLI8CMlOCSYxpWqXlEr5Svb/dAZ DWlMmL5IvTKrql8vznRXNtWeFI6qodu6rJcjWsSABfIXVk201B0WIKmvQ5pfxTHanCvM zKx2DYmkKBvlMRNGYuyAmUaBShWSQq7mezjOewQD9tBr/LLhNcRgQHcXJ0quJk1mFlsG qGBg== X-Gm-Message-State: AOJu0YxpKB3EO1l4+gf8hHbY00sYe12uANiGx3m20lB+B9EuD5hTF5DP ZgFqGsEbhC1hY9B7F/nuZMBFVZaBLoxDdaEXD6E= X-Google-Smtp-Source: AGHT+IEr5oqNGT9c2x6MB+fdKk7S9p2N/cgNIC3tcAbfo4xxsQGZKqFS+b0G1d94FahV2PYbxMOAZg== X-Received: by 2002:a05:6820:1a58:b0:560:b9f0:b9fc with SMTP id br24-20020a0568201a5800b00560b9f0b9fcmr5531721oob.0.1693099144388; Sat, 26 Aug 2023 18:19:04 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:32e5:4bbf:ada3:7bf7]) by smtp.gmail.com with ESMTPSA id u190-20020a4a57c7000000b0054fba751207sm2498684ooa.47.2023.08.26.18.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 18:19:04 -0700 (PDT) References: <20230822112144.1513268-1-luis.machado@arm.com> <20230822112144.1513268-4-luis.machado@arm.com> User-agent: mu4e 1.10.5; emacs 28.2 From: Thiago Jung Bauermann To: Luis Machado Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 3/6] [gdb/aarch64] sme2: signal frame support In-reply-to: <20230822112144.1513268-4-luis.machado@arm.com> Date: Sat, 26 Aug 2023 22:19:01 -0300 Message-ID: <87fs45l1tm.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Luis Machado writes: > Teach gdb about the ZT state on signal frames and how to restore > the contents of the registers. > > There is a new ZT_MAGIC context that the Linux Kernel uses to communicate > the ZT register state to gdb. > > As mentioned before, the ZT state should only be available when the ZA state > is available. > > Validated under Fast Models. > --- > gdb/aarch64-linux-tdep.c | 65 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) Reviewed-by: Thiago Jung Bauermann -- Thiago