From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web10.37676.1590434156238676144 for ; Mon, 25 May 2020 12:15:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b9w8dG/6; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590434155; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FrFfutyrBHluWT5hPDac/Lxhgl+qDDv72uzee53JlNA=; b=b9w8dG/6N/xKlbGxYDK79J850lScDx+TfeAVpqLcSKxM0zrOg+SaOptMS0EIWe+8wDNiAQ 7xwdIdMwcOfy65qPSYHn1IFxwdwaXM6Pcgx9SE9qCIrH2YUEolIgITpTP3vwv9sx6ivXu4 a8O0t7Hanp0JbtDqoD+W2ABplfRN3rE= 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-155-k3XOYEiuNHaOPA7_Fg1Yhw-1; Mon, 25 May 2020 15:15:48 -0400 X-MC-Unique: k3XOYEiuNHaOPA7_Fg1Yhw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DD2DA872FE0; Mon, 25 May 2020 19:15:46 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-168.ams2.redhat.com [10.36.114.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id CEDC219D7E; Mon, 25 May 2020 19:15:45 +0000 (UTC) Subject: Re: [edk2-devel] OVMF gdb seems to require "stone knives and bearskins" to debug code? To: devel@edk2.groups.io, afish@apple.com References: <50EEBF6E-8BB1-461D-B252-D37D2990957D@apple.com> Cc: Rebecca Cran , "Andrei Warkentin (VMWare address)" From: "Laszlo Ersek" Message-ID: <01ce779e-825a-9fd3-fa7f-7db7ce589aee@redhat.com> Date: Mon, 25 May 2020 21:15:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <50EEBF6E-8BB1-461D-B252-D37D2990957D@apple.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit (+Rebecca, +Andrei) On 05/25/20 05:30, Andrew Fish via groups.io wrote: > The full Star Trek quote from Spock is: " I am endeavoring, ma'am, to construct a mnemonic memory circuit using stone knives and bearskins.", but I ran across this [1], and it felt like "stone knives and bearskins." vs my experience with lldb debugging EFI. > > So a few questions: > 1) Is this Wiki [1] actually up to date? > 2) Do we have a location to add debugger scripts to the edk2? If not what location should we chose? > 3) Is anyone interested in writing gdb scripts to do better? Andrei used to have some utilities / scripts at , and Rebecca used to host an article on her website about those tools. Hm.... the URL seems to be: . I have those utilities (somewhat refreshed?) in one of my (frequently rebased) local branches, but I've never tried to upstream them (it's not my work, after all). But, I use gdb really rarely anyway; mostly I use DEBUGs. :) I think the last time we discussed this was in this thread: https://edk2.groups.io/g/devel/message/40061 (alt link: ) I don't remember ever relying on [1] . Thanks Laszlo