Remove a few no longer needed debug traces, and
add a TODO note regarding gcc4's eh_frame format. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cc7d899023
commit
99d56d5f78
@ -439,16 +439,20 @@ DwarfFile::UnwindCallFrame(CompilationUnit* unit,
|
||||
// CIE ID/CIE pointer
|
||||
uint64 cieID = dwarf64
|
||||
? dataReader.Read<uint64>(0) : dataReader.Read<uint32>(0);
|
||||
|
||||
// TODO: gcc4.4+ only specifies an eh_frame by default on
|
||||
// Haiku, and its format differs from the 2.x format
|
||||
// we currently handle. Support for detecting and parsing
|
||||
// the appropriate format needs to be added, though this can
|
||||
// currently be worked around using -fno-dwarf2-cfi-asm
|
||||
if (fUsingEHFrameSection
|
||||
? cieID == 0
|
||||
: (dwarf64
|
||||
? cieID == 0xffffffffffffffffULL
|
||||
: cieID == 0xffffffff)) {
|
||||
// this is a CIE -- skip it
|
||||
TRACE_CFI("Skipping CIE: %Lx\n", cieID);
|
||||
previousCIE = entryOffset;
|
||||
} else {
|
||||
TRACE_CFI("Found FDE\n");
|
||||
// this is a FDE
|
||||
target_addr_t initialLocation = dataReader.ReadAddress(0);
|
||||
target_size_t addressRange = dataReader.ReadAddress(0);
|
||||
|
Loading…
Reference in New Issue
Block a user