@@ -210,13 +210,13 @@ const int DebugStringCount = sizeof(DebugStrings) / sizeof(DebugStrings[0]);
210
210
211
211
/* Static data for .debug_abbrev */
212
212
const unsigned char AbbrevTable[] = {
213
- 1 , DW_TAG_compile_unit, DW_children_yes ,
213
+ 1 , DW_TAG_compile_unit, DW_CHILDREN_yes ,
214
214
DW_AT_producer, DW_FORM_strp, DW_AT_language, DW_FORM_data2, DW_AT_name, DW_FORM_strp,
215
215
DW_AT_stmt_list, DW_FORM_sec_offset, 0 , 0 ,
216
- 2 , DW_TAG_subprogram, DW_children_no ,
216
+ 2 , DW_TAG_subprogram, DW_CHILDREN_no ,
217
217
DW_AT_name, DW_FORM_strp, DW_AT_decl_file, DW_FORM_data1, DW_AT_decl_line, DW_FORM_data1,
218
218
DW_AT_type, DW_FORM_ref4, DW_AT_external, DW_FORM_flag_present, 0 , 0 ,
219
- 3 , DW_TAG_base_type, DW_children_no ,
219
+ 3 , DW_TAG_base_type, DW_CHILDREN_no ,
220
220
DW_AT_name, DW_FORM_strp, DW_AT_encoding, DW_FORM_data1, DW_AT_byte_size, DW_FORM_data1,0 , 0 ,
221
221
0
222
222
};
@@ -269,7 +269,7 @@ void NotifyGdb::MethodCompiled(MethodDesc* MethodDescPtr)
269
269
/* Get method name & size of jitted code */
270
270
LPCUTF8 methodName = MethodDescPtr->GetName ();
271
271
EECodeInfo codeInfo (pCode);
272
- TADDR codeSize = codeInfo.GetCodeManager ()->GetFunctionSize (codeInfo.GetGCInfo ());
272
+ TADDR codeSize = codeInfo.GetCodeManager ()->GetFunctionSize (codeInfo.GetGCInfoToken ());
273
273
274
274
#ifdef _TARGET_ARM_
275
275
pCode &= ~1 ; // clear thumb flag for debug info
@@ -944,14 +944,14 @@ int NotifyGdb::Leb128Encode(int32_t num, char* buf, int size)
944
944
/* ELF 32bit header */
945
945
Elf32_Ehdr::Elf32_Ehdr ()
946
946
{
947
- e_ident[EI_MAG0] = ELFMAG0 ;
948
- e_ident[EI_MAG1] = ELFMAG1 ;
949
- e_ident[EI_MAG2] = ELFMAG2 ;
950
- e_ident[EI_MAG3] = ELFMAG3 ;
947
+ e_ident[EI_MAG0] = ElfMagic[ 0 ] ;
948
+ e_ident[EI_MAG1] = ElfMagic[ 1 ] ;
949
+ e_ident[EI_MAG2] = ElfMagic[ 2 ] ;
950
+ e_ident[EI_MAG3] = ElfMagic[ 3 ] ;
951
951
e_ident[EI_CLASS] = ELFCLASS32;
952
952
e_ident[EI_DATA] = ELFDATA2LSB;
953
953
e_ident[EI_VERSION] = EV_CURRENT;
954
- e_ident[EI_OSABI] = ELFOSABI_SYSV ;
954
+ e_ident[EI_OSABI] = ELFOSABI_NONE ;
955
955
e_ident[EI_ABIVERSION] = 0 ;
956
956
for (int i = EI_PAD; i < EI_NIDENT; ++i)
957
957
e_ident[i] = 0 ;
@@ -974,14 +974,14 @@ Elf32_Ehdr::Elf32_Ehdr()
974
974
/* ELF 64bit header */
975
975
Elf64_Ehdr::Elf64_Ehdr ()
976
976
{
977
- e_ident[EI_MAG0] = ELFMAG0 ;
978
- e_ident[EI_MAG1] = ELFMAG1 ;
979
- e_ident[EI_MAG2] = ELFMAG2 ;
980
- e_ident[EI_MAG3] = ELFMAG3 ;
977
+ e_ident[EI_MAG0] = ElfMagic[ 0 ] ;
978
+ e_ident[EI_MAG1] = ElfMagic[ 1 ] ;
979
+ e_ident[EI_MAG2] = ElfMagic[ 2 ] ;
980
+ e_ident[EI_MAG3] = ElfMagic[ 3 ] ;
981
981
e_ident[EI_CLASS] = ELFCLASS64;
982
982
e_ident[EI_DATA] = ELFDATA2LSB;
983
983
e_ident[EI_VERSION] = EV_CURRENT;
984
- e_ident[EI_OSABI] = ELFOSABI_SYSV ;
984
+ e_ident[EI_OSABI] = ELFOSABI_NONE ;
985
985
e_ident[EI_ABIVERSION] = 0 ;
986
986
for (int i = EI_PAD; i < EI_NIDENT; ++i)
987
987
e_ident[i] = 0 ;
0 commit comments