From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666627537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mFESny+EJHq1jfbFRIEq+8V214Hke9dBn2GDM2hL7h8=; b=ZpX5LOqTc+njgXbsOOo5UiUHaASlajNw3quNg6M//8AQnl0pUgmOx2CTavZHcquaxMxiql x2kERsrjEcmzv8c05pv9BezwaktQnbjxn7y6UErTH1PbeLxLFoWE+xn3IBeIDpt9btKxxu WpvMoi6oYA8yzPhsyxwgwhjStU/5evw= 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) From: Andrew Burgess To: Mike Frysinger Cc: gdb-patches@sourceware.org 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-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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: 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