From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lNRxS-0007nl-CD for mharc-grub-devel@gnu.org; Fri, 19 Mar 2021 23:07:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNRxM-0007nG-3B for grub-devel@gnu.org; Fri, 19 Mar 2021 23:07:21 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:41495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNRxH-0002I7-UZ for grub-devel@gnu.org; Fri, 19 Mar 2021 23:07:13 -0400 Received: by mail-pg1-x52f.google.com with SMTP id m7so4937772pgj.8 for ; Fri, 19 Mar 2021 20:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t85I0LERNQI3Z4K2DwfDV4EnWZaCi3JpiwwzKup/4uY=; b=K4D4j4oTrRDOrmtfNsfuUB8G3AexmowBDUpJBiXoyTjQh6kc/lHzRl2MqCceZzqAJW v2O1RWB/TgmqbM7keXAI/+EJrhNFn06NgocXtopR5a2u2Ec2chIfD2lF+af3lLdqDScE eCt3xs/5O3US1S4MAFjIIWz9cYIi5Ye3L3VBgX/C+yZyjA6LIXrCikj/SOGaAk3Q2Njf dEg4KrfDBp8j+AjRt5qXnXePxagJ8WFs645Yk2yX2wuouo9kBeZBvobi+kvYV2ON8roo mcRmX53MhtHvje1tGxRddrPz4Uy2HD3iEcGPRpQ+G910Qh6T79PAk+fQqS26IjGKztoP xM5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t85I0LERNQI3Z4K2DwfDV4EnWZaCi3JpiwwzKup/4uY=; b=POaRDNafhloIp5nwZKQ3Rk5K6jvYyFP0Cg0dJFH3q3WvE3mnGRc5CmyPcsraJwgcyW KzWuGQRL++ZHtAq1slem77d82pdRvLzO8cCHlsPrffcyiJgpGCUbu9bcKtWEcGljGtYY m92xczgIWLNOHAttmR9USABgD2eLXv4mXfYBIb8MPWxpLKXUqnRCQnRZAmk+61VDDu4p raOTpEA5B1tpdrc1KsSgPcx/qDzkh8wpXmVs53QkPhVC0cWNENdzx36AfKfkiuWGe6I9 iIrQto6y4NVLPYCcUeOvF+rlO2pjy3/7V2wky2lbH38Mqp21ZYEsmWLgT4/KjU+UvXFb apcg== X-Gm-Message-State: AOAM5329YIG+EISmHqMrtV6eMKM6jSwxdo/PIDEqex1mKDqx9lNZy8zw A0kzO6u/60dYt3Rbc4Jj5+SZj7mjpEN8QA== X-Google-Smtp-Source: ABdhPJwLmx+kfyIWySDklmu59yxAfr63J6fFSjIYFT5DeoZ0l9032EEYdVqS5+PFXTBhCNFCcLwxSg== X-Received: by 2002:aa7:85c1:0:b029:1f4:4fcc:384d with SMTP id z1-20020aa785c10000b02901f44fcc384dmr12299263pfn.10.1616209628930; Fri, 19 Mar 2021 20:07:08 -0700 (PDT) Received: from localhost.localdomain ([2605:a601:ab16:db00:2328:d973:f35b:5c6b]) by smtp.gmail.com with ESMTPSA id a20sm7096092pfl.97.2021.03.19.20.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 20:07:08 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Glenn Washburn Subject: [PATCH 0/4] Miscellaneous changes to aid in troubleshooting Date: Fri, 19 Mar 2021 22:06:45 -0500 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=development@efficientek.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2021 03:07:21 -0000 These are pretty self-explanatory. They've been useful in debugging grub issues. Note that patch #2 and #3 are particularly synergistic. Also a note about patch #4. It was used in a version of patch #3, though not any more. I decided to leave it in this patch series because it enhances grub_strword without any downsides (that I'm aware of). Glenn Glenn Washburn (4): error: Add grub_errno to printed error message misc: Add debug log condition to log output misc: Allow selective disabling of debug conditionals misc: Change grub_strword to return a string like grub_strstr grub-core/kern/err.c | 2 +- grub-core/kern/misc.c | 22 +++++++++++++++++----- grub-core/loader/xnu.c | 7 ++++--- include/grub/misc.h | 2 +- 4 files changed, 23 insertions(+), 10 deletions(-) -- 2.27.0