diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/DWARFCompilationUnit.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/DWARFCompilationUnit.java index 995473d7f1..2ed1bfde12 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/DWARFCompilationUnit.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/DWARFCompilationUnit.java @@ -167,10 +167,10 @@ public class DWARFCompilationUnit { new DWARFCompilationUnit(dwarfProgram, startOffset, endOffset, length, format, version, abbreviationOffset, pointerSize, cuNumber, firstDIEOffset, abbrMap); - DebugInfoEntry compileUnitDIE = - DebugInfoEntry.read(debugInfoBR, cu, dwarfProgram.getAttributeFactory()); - try { + DebugInfoEntry compileUnitDIE = + DebugInfoEntry.read(debugInfoBR, cu, dwarfProgram.getAttributeFactory()); + DWARFCompileUnit compUnit = DWARFCompileUnit.read( DIEAggregate.createSingle(compileUnitDIE), dwarfProgram.getDebugLine()); cu.setCompileUnit(compUnit);