Fix include path for dwarf.h and add missing define

the compiler included system dwarf.h, not with the project one.

DWARF_STOPUNWIND was not defined in the project's dwarf.h
This commit is contained in:
Tobias Frost 2022-06-10 13:43:14 +02:00
parent f6b3158574
commit d103e4f4fb
2 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@
#define DWARF_EINVAL 4 /* unsupported operation or bad value */ #define DWARF_EINVAL 4 /* unsupported operation or bad value */
#define DWARF_EBADVERSION 5 /* unwind info has unsupported version */ #define DWARF_EBADVERSION 5 /* unwind info has unsupported version */
#define DWARF_ENOINFO 6 /* no unwind info found */ #define DWARF_ENOINFO 6 /* no unwind info found */
#define DWARF_STOPUNWIND 7
struct dwarf_cie_info { struct dwarf_cie_info {
arch_addr_t start_ip; /* first IP covered by this procedure */ arch_addr_t start_ip; /* first IP covered by this procedure */

View File

@ -32,7 +32,7 @@
#include "common.h" #include "common.h"
#include "backend.h" #include "backend.h"
#include "debug.h" #include "debug.h"
#include "dwarf.h" #include "../../../dwarf.h"
#include "library.h" #include "library.h"
#include "task.h" #include "task.h"