Hi all,
About a week or two ago I was able to start the emulator + shell (Fedora
22 64-bit host) using:
$ sh EmulatorPkg/build.sh run
However, after re-cloning the git repository today and trying the same
process, a breakpoint is instead triggered somewhere in PeiCore (I
believe). If I run "continue" from gdb twice, the application segfaults
and exits. I tried looking through the commit history to see if
anything changed, but I've been unable to find anything. Does anyone
have suggestions on how I can get this going again?
Full output below.
Thanks,
David
>> sh EmulatorPkg/build.sh run
Building from: <path>/edk2
using prebuilt tools
Reading symbols from <path>/edk2/Build/Emulator/DEBUG_GCC49/X64/Host...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
EDK II UNIX Host Emulation Environment from http://www.tianocore.org/edk2/
BootMode 0x00
OS Emulator passing in 128 KB of temp RAM at 0x40000000 to SEC
FD loaded from ../FV/FV_RECOVERY.fd at 0x102000000 contains SEC Core
0x1020003e0 Loading
<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/EmulatorPkg/Sec/Sec/DEBUG/EmuSec.dll
with entry point 0x1020003e0
SEC Has Started
0x1020052e0 Loading
<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/MdeModulePkg/Core/Pei/PeiMain/DEBUG/PeiCore.dll
with entry point 0x1020052e0
Program received signal SIGTRAP, Trace/breakpoint trap.
add symbol table from file
"<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/EmulatorPkg/Sec/Sec/DEBUG/EmuSec.dll"
at
.text_addr = 0x1020003e0
add symbol table from file
"<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/MdeModulePkg/Core/Pei/PeiMain/DEBUG/PeiCore.dll"
at
.text_addr = 0x1020052e0
CpuBreakpoint () at <path>/edk2/MdePkg/Library/BaseLib/X64/GccInline.c:107
107 }
(gdb) continue
Continuing.
0x10202af00 Loading
<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei/DEBUG/StatusCodeHandlerPei.dll
with entry point 0x10202af00
Program received signal SIGTRAP, Trace/breakpoint trap.
add symbol table from file
"<path>/edk2/Build/Emulator/DEBUG_GCC49/X64/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei/DEBUG/StatusCodeHandlerPei.dll"
at
.text_addr = 0x10202af00
CpuBreakpoint () at <path>/edk2/MdePkg/Library/BaseLib/X64/GccInline.c:107
107 }
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x000000010202b196 in StatusCodeHandlerPeiEntry (FileHandle=0x10202ac68,
PeiServices=0x4000f878) at
<path>/edk2/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.c:57
57 Status = RscHandlerPpi->Register
(SerialStatusCodeReportWorker);
(gdb)
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel