From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9eWZ-0004wZ-3y for qemu-devel@nongnu.org; Sat, 01 Feb 2014 12:38:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9eWT-0007MP-5A for qemu-devel@nongnu.org; Sat, 01 Feb 2014 12:38:35 -0500 Received: from jedlik.phy.bme.hu ([152.66.102.83]:35501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9eWS-0007LU-Tv for qemu-devel@nongnu.org; Sat, 01 Feb 2014 12:38:29 -0500 Date: Sat, 1 Feb 2014 18:38:26 +0100 (CET) From: BALATON Zoltan In-Reply-To: <5794F280-A5E3-4366-A6A1-8633A09EFB29@suse.de> Message-ID: References: <20140121181101.GB1323@ERROL.INI.CMU.EDU> <20140121183851.GA26382@redhat.com> <20140124164608.GB1293@ERROL.INI.CMU.EDU> <20140125000945.GA10357@crash.ini.cmu.edu> <6FAEE645-799D-4535-B568-75AB5E4D206C@suse.de> <20140128204023.GC29329@ERROL.INI.CMU.EDU> <20140129030736.GA23361@crash.ini.cmu.edu> <20140129145342.GD29329@ERROL.INI.CMU.EDU> <521FF952-FDEE-4F53-A2FF-910C8D5B3E6A@suse.de> <5794F280-A5E3-4366-A6A1-8633A09EFB29@suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Qemu-devel] OVMF with q35 (was: osx bootloader) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "Gabriel L. Somlo" , "qemu-devel@nongnu.org" On Sat, 1 Feb 2014, Alexander Graf wrote: > Easiest is probably to attach gdb and get a backtrace to see who accesses that port. Only if I knew how to do that... I can start qemu with -s and attach gdb to it but how to get symbols for the OVMF.fd file and how to set the breakpoint? I've tried gdb OVMF.fd but it cannot load it directly. I've also found *.debug files in the edk2/Build directory but they are only for parts of the whole fw image and none of them seems to be for the part which defines the IoRead32 function. Does anyone know how to debug OVMF firmware running in qemu? Regards, BALATON Zoltan