From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GFpCI+i3VmM7HxAAWB0awg (envelope-from ) for ; Mon, 24 Oct 2022 12:06:00 -0400 Received: by simark.ca (Postfix, from userid 112) id 8CF221E112; Mon, 24 Oct 2022 12:06:00 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=q4xoY9t7; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [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 41B5B1E0D3 for ; Mon, 24 Oct 2022 12:06:00 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E569E3858412 for ; Mon, 24 Oct 2022 16:05:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E569E3858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666627559; bh=mFESny+EJHq1jfbFRIEq+8V214Hke9dBn2GDM2hL7h8=; h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=q4xoY9t7OWHXwCRMRHrjUBLUpA2cHQMoa/kNpEQod4Ez8Lb28DH9j58brp7/wtvc+ HDwymuWgzCyjFzf7B1kp0+fsc+p1yQRlJG29dV7p5fhX1667PLiCWBkPX9Wv7t5+1V z7tzjo4bb+KLO6GqxqVUkOGJGgK7KO0RCL2gOAUg= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 86D4E3857C75 for ; Mon, 24 Oct 2022 16:05:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 86D4E3857C75 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-100-26sfK3q6OIG4zbNK8VAngw-1; Mon, 24 Oct 2022 12:05:34 -0400 X-MC-Unique: 26sfK3q6OIG4zbNK8VAngw-1 Received: by mail-qk1-f198.google.com with SMTP id w13-20020a05620a424d00b006e833c4fb0dso9261772qko.2 for ; Mon, 24 Oct 2022 09:05:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mFESny+EJHq1jfbFRIEq+8V214Hke9dBn2GDM2hL7h8=; b=1Io4LR0AHtPlpTpzNJYtAv/KoaYMYPQeVvTrAr1WPOOT4QURoEkx0p2cZFybIyX9p7 AadmFrmeU93iDmty8iB35BWz9xysGMn9u20roSqKjt6QYtdloo4c5qrFw1JYtUQaDThv AvVVp8a4yXTnDxBIcYwioNVGDHszxoCSQjwhxnJjm0Ck4qMQxxybqu+mXdiQQlo56lNv +FGw8csCGO1DgkVuHnzz8lmCipWUuDU5D0e9AcrjhIm9kb4oNS6McqA/TfnTIUcyJqeP 316brw5uG/r7uDCTf4DOsV6I0V6keG+4TioCNiuBhnF+09GZ36I97BFHT3RWUf0KIcR9 EFfw== X-Gm-Message-State: ACrzQf2G7QXavGbgwcqruzYwoDYAS6Js3+mdJyFkvG+l2U2bEPw1legQ EVUarvUjwiyG0hC7SVX0YPUqKoGg2X7z3yIKiPrQ6NfKRxoRQJGvi8o5Hx7hMVdbfxQG/kejQFp aqr7ZcEOIIDvsqtXe/nMM0w== X-Received: by 2002:a05:620a:400e:b0:6db:18a3:4001 with SMTP id h14-20020a05620a400e00b006db18a34001mr22930702qko.427.1666627533696; Mon, 24 Oct 2022 09:05:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM41AxSXrS0ebPJyvYweNgO/SjhmGhcrjsVBIzWLepibgdiIhekmqJnZrfLrI1gjTo09z1QM1g== X-Received: by 2002:a05:620a:400e:b0:6db:18a3:4001 with SMTP id h14-20020a05620a400e00b006db18a34001mr22930681qko.427.1666627533503; Mon, 24 Oct 2022 09:05:33 -0700 (PDT) Received: from localhost ([31.111.84.238]) by smtp.gmail.com with ESMTPSA id bk30-20020a05620a1a1e00b006eeaf9160d6sm220291qkb.24.2022.10.24.09.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 09:05:33 -0700 (PDT) To: Mike Frysinger Subject: Re: [PATCH 02/10] sim/ppc: don't try to print an uninitialized variable In-Reply-To: References: Date: Mon, 24 Oct 2022 17:05:31 +0100 Message-ID: <87ilk98awk.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Mike Frysinger writes: > On 19 Oct 2022 16:24, Andrew Burgess via Gdb-patches wrote: >> The ppc simulator, in sim_create_inferior, tries to print the function >> local entry_point variable before the variable is initialized. >> >> In this commit, I defer the debug print line until the variable has >> been initialized. > > lgtm Pushed. Thanks, Andrew