From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id XnPLEcQr/F/6EwAAWB0awg (envelope-from ) for ; Mon, 11 Jan 2021 05:43:16 -0500 Received: by simark.ca (Postfix, from userid 112) id 360941EEEF; Mon, 11 Jan 2021 05:43:16 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (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 simark.ca (Postfix) with ESMTPS id DA5F51E4F4 for ; Mon, 11 Jan 2021 05:43:15 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5966A3844054; Mon, 11 Jan 2021 10:43:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5966A3844054 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1610361795; bh=BXTEmKqfAsiUxHLvdzKlZvRLQ+BcEX6PZ3wXzMe/ZC4=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LCR0o8mGlWSJ/EpV8HYt0wfFrkUBLfeVjIMQmegvtTAVxBIDzwU9YNcUmhcok+Vej kZU1+EfUzux4sEzSoX1myH9ZkXHou7xHDrpq/jOdP+TFQST3vyXnxDumda15ef93w3 1RLJ6BNB0yqWVRvkzxVi5MUgy0vOSZ8Lx3Yv9jzw= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 392493857C75 for ; Mon, 11 Jan 2021 10:43:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 392493857C75 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-147-2hjdpPvKN76NndalKi40tw-1; Mon, 11 Jan 2021 05:43:11 -0500 X-MC-Unique: 2hjdpPvKN76NndalKi40tw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9EAF4802B53; Mon, 11 Jan 2021 10:43:09 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-113-100.ams2.redhat.com [10.36.113.100]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AD6DF1002382; Mon, 11 Jan 2021 10:43:08 +0000 (UTC) To: Walt Drummond via Gdb Subject: Re: AMD64_LINUX_frame_size References: <87eeiwv41k.fsf@tromey.com> Date: Mon, 11 Jan 2021 11:43:05 +0100 In-Reply-To: (Walt Drummond via Gdb's message of "Thu, 7 Jan 2021 13:49:50 -0800") Message-ID: <87sg77pxdy.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Florian Weimer via Gdb Reply-To: Florian Weimer Cc: Tom Tromey Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" * Walt Drummond via Gdb: > Thanks Tom. My math shows the kernel sizes as > Redzone 128 > math frame/xstate 840 > rt_sigframe 456 > > That's a total of 1424 bytes, so maybe GDB is saving less than it should? With AVX-512, the kernel size is way larger. Do you know for what purpose GDB needs this information? Decoding the xstate is quite complicated as far as I know. Is it related to preserving stack contents across signal delivery? Thanks, Florian -- Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill