From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.29953.1652089769710784288 for ; Mon, 09 May 2022 02:49:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Qd5dpWCt; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652089768; 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=l9JyANBinxPbG7XD+QBHCQ3elgRHMBtHJgSY4ErJ3js=; b=Qd5dpWCtHB13M36LkJyMaJk/2EcdR5gdz9O2MrXGKcIadnIqfPCoagLLWrBcCVrkg7KYfP ejHhDRFY8bzmZsZ41NZ7FqYUoMosFZvmHc4J4a/ZrRYEk1FFn+SgCcjeYFhcuB9AES2Fxx B1tbMcz2oRSrKoPd4CGqTuLaudX6ac4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-564-QCeozJ2MOAGJv44DyuWVLQ-1; Mon, 09 May 2022 05:49:26 -0400 X-MC-Unique: QCeozJ2MOAGJv44DyuWVLQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9F2F4805B25; Mon, 9 May 2022 09:49:25 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 57070426337; Mon, 9 May 2022 09:49:25 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 6716E180062C; Mon, 9 May 2022 11:49:17 +0200 (CEST) Date: Mon, 9 May 2022 11:49:17 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, sebastien.boeuf@intel.com Cc: "Yao, Jiewen" Subject: Re: [edk2-devel] Debug OVMF Message-ID: <20220509094917.sydwsa6iy46eeroc@sirius.home.kraxel.org> References: <712bc220a0deb8cface468a5f1fb6cbe462662bb.camel@intel.com> MIME-Version: 1.0 In-Reply-To: <712bc220a0deb8cface468a5f1fb6cbe462662bb.camel@intel.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 09, 2022 at 09:32:52AM +0000, Boeuf, Sebastien wrote: > Hi, > > I'm trying to debug OVMF with gdb connected to Cloud Hypervisor but the > problem is that the debug binary that I have generated doesn't contain > any symbols. Do you know how to generate debug symbols for OVMF? Build/OvmfX64/DEBUG_GCC5/X64/*.debug You might want checkout BaseTools/Scripts/efi_*.py too (didn't try them myself yet). take care, Gerd