Skip to content

Commit

Permalink
Fix include path for dwarf.h and add missing define
Browse files Browse the repository at this point in the history
the compiler included system dwarf.h, not with the project one.

DWARF_STOPUNWIND was not defined in the project's dwarf.h
  • Loading branch information
Tobias Frost committed Jun 10, 2022
1 parent f6b3158 commit d103e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dwarf.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
#define DWARF_EINVAL 4 /* unsupported operation or bad value */
#define DWARF_EBADVERSION 5 /* unwind info has unsupported version */
#define DWARF_ENOINFO 6 /* no unwind info found */
#define DWARF_STOPUNWIND 7

struct dwarf_cie_info {
arch_addr_t start_ip; /* first IP covered by this procedure */
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/linux-gnu/arm/dwarf-arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "common.h"
#include "backend.h"
#include "debug.h"
#include "dwarf.h"
#include "../../../dwarf.h"
#include "library.h"
#include "task.h"

Expand Down

0 comments on commit d103e4f

Please sign in to comment.