X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/009df4d72576516c0bd57440cddf6a2e7063bccd..cbd79f6681578e8e8086cd175b1fbe5301a0b43d:/src/debugger/ELFManager.cpp diff --git a/src/debugger/ELFManager.cpp b/src/debugger/ELFManager.cpp index 459e4b8..d180138 100644 --- a/src/debugger/ELFManager.cpp +++ b/src/debugger/ELFManager.cpp @@ -4,6 +4,7 @@ // by Jean-Paul Mari // // JPM = Jean-Paul Mari +// RG = Richard Goedeken // // WHO WHEN WHAT // --- ---------- ------------------------------------------------------------ @@ -11,18 +12,19 @@ // JPM 07/13/2017 ELF DWARF format support improvement // JPM 10/20/2018 Added function name support from ELF structure // JPM 03/13/2020 Added ELF & DWARF .debug* types +// RG Jan./2021 Linux build fixes // #include #include #include #include -#include "libelf/libelf.h" -#include "libelf/gelf.h" +#include "libelf.h" +#include "gelf.h" #include "libdwarf.h" #include "log.h" #include "ELFManager.h" -#include "DwarfManager.h" +#include "DWARFManager.h" //#define LOG_SUPPORT // Support log @@ -147,7 +149,7 @@ void ELFManager_Init(void) // ELF manager Dwarf Initialisation -bool ELFManager_DwarfInit(Elf *PtrElfMem, struct _stat FileElfInfo) +bool ELFManager_DwarfInit(Elf *PtrElfMem, struct stat FileElfInfo) { return (ElfDwarf = (DWARFManager_ElfInit(PtrElfMem, FileElfInfo) == DW_DLV_OK) ? true : false); }