Skip to content

Commit

Permalink
dlt_cdh: (#568)
Browse files Browse the repository at this point in the history
Make sure on 64 bit we read an ELF64 structure.
Otherwise we get a read error, and the context file is missing some good
to know information
  • Loading branch information
LocutusOfBorg authored Nov 15, 2023
1 parent 7a55368 commit a4105dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_dump_handler/dlt_cdh.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define CORE_FILE_PATTERN "%s/core.%d.%s.%d.gz"
#define CONTEXT_FILE_PATTERN "%s/context.%d.%s.%d.txt"

#if ((__SIZEOF_POINTER) == 4)
#if ((__SIZEOF_POINTER__) == 4)
#define ELF_Ehdr Elf32_Ehdr
#define ELF_Phdr Elf32_Phdr
#define ELF_Shdr Elf32_Shdr
Expand Down

0 comments on commit a4105dd

Please sign in to comment.