From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mb4EY-0006qq-CF for mharc-grub-devel@gnu.org; Thu, 14 Oct 2021 13:09:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb4EX-0006qa-BB for grub-devel@gnu.org; Thu, 14 Oct 2021 13:09:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:26552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb4EU-00064S-DZ for grub-devel@gnu.org; Thu, 14 Oct 2021 13:09:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634231368; 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=KKj6PuKLZWVNTyC+S4VXUawZ5uBwI+vot/68MzjE1QY=; b=Y3QYuQeTgEZhEdw4KXPj9tY8Vo0l5/wGT2H3iJ1HXpuUmO2ZseAF2z9hdGSwCak/Lmpere 8j608fVd0CaDPDiKzBgUrptktnwB98LJ9mpv4xiKEkc4kBqYEldU353Dd8c49PAQAiRx1o gb31W9XdJ90xk7l12SYIhhRzmhGFPjE= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-471-hM4nLPpENsmtI8GQyP4p5w-1; Thu, 14 Oct 2021 13:09:27 -0400 X-MC-Unique: hM4nLPpENsmtI8GQyP4p5w-1 Received: by mail-qt1-f200.google.com with SMTP id k1-20020ac80c01000000b002a79e319399so3759265qti.8 for ; Thu, 14 Oct 2021 10:09:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=7w9KxhCrWW0DIZ1hiDwo3F8PetEfghlvtZ/WS1S7/1k=; b=OsZxq0ks3bMguPcLqjOi4f9ULc+EVlVxC/w58DU6NFLsqOA97pbutPC6iYe3ezBcRg RWm6m3vlu9XmXaS3zv5J6kmVHvglOg/UArqCUG9aeQ1kfZEO/y9NLJ7LNANpxcvGSOrZ 3xr0JkS+K25wfeqyJB4YSooap5K3bbo2Mr+1UCtPb24PV/CZFs96o4S+p7kuZQsKqWjC JFOqHNcxuaMUvb83lS3FVomj1wtBsXDbxiMLQ5XtII4tt0aEt/KkEGUxC/W8hOg/+9U0 q1jD08Fd5eqwBo1ahX+Cdaa9g+WqBFKU4bsBk4/+SFu2swfjZp10xztPO13fZvF7Dhii EM2g== X-Gm-Message-State: AOAM533QpNFJBBTUxsdywFbroNrWekS5pRiGDrKkmUuShqrsbNgyC36Q vasD5epcaN0CZ88X5XS2shw3k131pGBh48qjDc/2IdTub6TNhM9tT6SHyu1udRt62gqJaNYd7sQ 6Z6DP0XYlC8k= X-Received: by 2002:a05:622a:4d4:: with SMTP id q20mr8052909qtx.57.1634231366710; Thu, 14 Oct 2021 10:09:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpo8rjAZ2TnnyyFmDv2CJeByK+phA/2vCz7UqwDjElbXiYOdTFkQhuMTIaqfnORjRYTCyYMA== X-Received: by 2002:a05:622a:4d4:: with SMTP id q20mr8052861qtx.57.1634231366417; Thu, 14 Oct 2021 10:09:26 -0700 (PDT) Received: from localhost ([2601:184:4181:74c0:862e:5809:ed9e:e10e]) by smtp.gmail.com with ESMTPSA id x125sm1549316qkd.8.2021.10.14.10.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 10:09:25 -0700 (PDT) From: Robbie Harwood To: development@efficientek.com Cc: The development of GNU GRUB , Peter Jones Subject: Re: [PATCH 2/2] Make a "gdb" dprintf that tells us load addresses. In-Reply-To: <20211012012916.2ebf5e6f@crass-HP-ZBook-15-G2> References: <20211011184843.137930-1-rharwood@redhat.com> <20211011184843.137930-3-rharwood@redhat.com> <20211012012916.2ebf5e6f@crass-HP-ZBook-15-G2> Date: Thu, 14 Oct 2021 13:09:21 -0400 Message-ID: MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rharwood@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=216.205.24.124; envelope-from=rharwood@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: Thu, 14 Oct 2021 17:09:33 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Glenn Washburn writes: > I don't agree with suppressing file:line for debug output. I have some > changes in the pipeline which will allow selectively disabling > conditions when also using "deubg=3Dall". Suppressing file:line makes it > harder to figure out where the debug output is coming from to find the > condition to disable it. Grep for add-symbol-file or /usr/lib/debug etc. will get there. =20 > I think solution that we both might find agree able is to prepend "\n" > to your format string. That way "add-symbol-file" will still start on > a new-line, which seems to be what you're after. During a boot with this enabled, you don't get just one line - you get one for each module (plus the initial one for kernel.exec). So if nothing intersperses, you can do `set confirm off`, then copy/paste the block. Be well, --Robbie --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAmFoZEEUHHJoYXJ3b29k QHJlZGhhdC5jb20ACgkQJTL5F2qVpEIs7w/+Oi5MO9Rr/NeOAFvYNRYLf+cNgu6p p/sd2erdn5Fyz32SzDtUhfyhzhswopjq4do56Bl6dmD4oUjkjlgEt/a1cPrbpkVV IiCIm8R8qWpEHZejeGwNgag2EbqzSTFRgytDwRdZiHCway+Vt4aeiCGHrwx69+s6 k/3ZGc5XItneaebQQRnYfl411nWvf7k8vhr3KExgAQeMIsORITwjg2RmimMsXL9T 0B7JGrViohSYh0uqEWlexkkl9jxcU6UtLxA7P2Vk8EoyYxkr6kyPPJsgguLx1eaL ggy2JuUsmZ9fze90XcXdF0j/SjdjZahohFpCmPS+q945Atczy+PehHRz9Bja8PmF kSWiDk6TiTdAvuG2PIV+fAeojCpoCcRw2Aql5pxH2UhZGIiIAI79WpRGU8qMFB/a RTxFsGEM7LeRi3RrqThm/DNf7z2alMGGi7a+A2pWre7lJcc2/cRteTt53QEeHJDM hC5h6nqE5kmZ3KqMEJ4i+LY1nQzsJqYj7Us9Rhapkz7uSSGZ1mQj673MK3aucs4l srjGVcfk2fJZPcKEOfsEc7hxArcDcC1edKOA9FRboIzKarsE1/gf+z0cX2etlcB7 U6078CI918XX/o9kt6/q2ogG3HHeAg+Ph8S6qCaIijxwprMwM5eckKGbRVgCZSW8 fQ/7Khs1Jwge8WA= =+U6p -----END PGP SIGNATURE----- --=-=-=--