From 9905e6d7ff9614d88caeb2eac6f154c8fb6523da Mon Sep 17 00:00:00 2001 From: tom_at_work Date: Thu, 16 Nov 2006 22:12:30 +0000 Subject: [PATCH] * never generate 64 bit offsets/sizes in DWARF debug info for now git-svn-id: trunk@5410 - --- compiler/dbgdwarf.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/dbgdwarf.pas b/compiler/dbgdwarf.pas index 826d2a18b0..b20fcbdd77 100644 --- a/compiler/dbgdwarf.pas +++ b/compiler/dbgdwarf.pas @@ -220,6 +220,7 @@ interface function get_file_index(afile: tinputfile): Integer; procedure write_symtable_syms(st:TSymtable); protected + // use 64 bit offsets/lengths or not isdwarf64: Boolean; vardatadef: trecorddef; procedure append_entry(tag : tdwarf_tag;has_children : boolean;data : array of const); @@ -645,7 +646,8 @@ implementation constructor TDebugInfoDwarf.Create; begin inherited Create; - isdwarf64 := target_cpu in [cpu_iA64,cpu_x86_64,cpu_powerpc64]; + // never generate dwarf info with 64 bit sizes for now + isdwarf64 := false; dirlist := TFPHashObjectList.Create; { add current dir as first item (index=0) } TDirIndexItem.Create(dirlist,'.', 0);