+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * disasm_begin.c: Include libeblP.h.
+ * disasm_cb.c: Likewise.
+ * bpf_disasm.c: Likewise and include common.h.
+
2022-10-21 Yonggang Luo <luoyonggang@gmail.com>
* asm_abort.c: Don't include unistd.h.
#include <stdlib.h>
#include "libasmP.h"
-#include "../libebl/libeblP.h"
+#include "libeblP.h"
DisasmCtx_t *
#include <string.h>
#include "libasmP.h"
-#include "../libebl/libeblP.h"
+#include "libeblP.h"
struct symtoken
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * bpf_disasm.c: Include common.h and libeblP.h.
+ * i386_disasm.c: Include libeblP.h.
+ * riscv_disasm.c: Likewise.
+
2022-10-21 Yonggang Luo <luoyonggang@gmail.com>
* i386_data.h: Define FCT_mod$64r_m as FCT_mod$r_m for i386.
#include <inttypes.h>
#include "bpf.h"
-#include "../libelf/common.h"
-#include "../libebl/libeblP.h"
+#include "common.h"
+#include "libeblP.h"
static const char class_string[8][8] = {
[BPF_LD] = "ld",
#include <stdlib.h>
#include <string.h>
-#include "../libebl/libeblP.h"
+#include "libeblP.h"
#define MACHINE_ENCODING LITTLE_ENDIAN
#include "memory-access.h"
#include <stdlib.h>
#include <string.h>
-#include "../libebl/libeblP.h"
+#include "libeblP.h"
#define MACHINE_ENCODING LITTLE_ENDIAN
#include "memory-access.h"
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (AM_CPPFLAGS): Add -I$(srcdir)/../libebl.
+ * cfi.c: Include libebl.h.
+ * encoded-value.h: Likewise.
+ * frame-cache.h: Likewise.
+
2022-10-21 Yonggang Luo <luoyonggang@gmail.com>
* memory-access.h (get_uleb128_step): Use __typeof.
if BUILD_STATIC
AM_CFLAGS += $(fpic_CFLAGS)
endif
-AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdwelf -pthread
+AM_CPPFLAGS += -I$(srcdir)/../libebl -I$(srcdir)/../libelf -I$(srcdir)/../libdwelf -pthread
VERSION = 1
lib_LIBRARIES = libdw.a
#endif
#include <dwarf.h>
-#include "../libebl/libebl.h"
+#include "libebl.h"
#include "cfi.h"
#include "memory-access.h"
#include "encoded-value.h"
#include <dwarf.h>
#include <stdlib.h>
#include "libdwP.h"
-#include "../libelf/common.h"
+#include "common.h"
/* Returns zero if the value is omitted, the encoding is unknown or
# include <config.h>
#endif
-#include "../libebl/libebl.h"
+#include "libebl.h"
#include "cfi.h"
#include <search.h>
#include <stdlib.h>
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * libdwelfP.h: Include libdwP.h.
+
2022-10-21 Yonggang Luo <luoyonggang@gmail.com>
* dwelf_elf_begin.c: Don't include unistd.h.
#define _LIBDWELFP_H 1
#include <libdwelf.h>
-#include "../libdw/libdwP.h" /* We need its INTDECLs. */
+#include "libdwP.h" /* We need its INTDECLs. */
#include <assert.h>
#include <string.h>
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (AM_CPPFLAGS): debuginfod.h is in builddir.
+ * core-file.c: Include libelfP.h.
+ * cu.c: Include libdwP.h and memory-access.h.
+ * debuginfod-client.c: Include debuginfod.h.
+ * dwfl_dwarf_line.c: Include libdwP.h.
+ * dwfl_lineinfo.c: Include libdwP.h.
+ * dwfl_module.c: Include cfi.h.
+ * dwfl_module_dwarf_cfi.c: Include cfi.h.
+ * dwfl_module_eh_cfi.c: Include cfi.h.
+ * dwfl_module_getdwarf.c: Include libdwP.h and libelfP.h.
+ * dwfl_module_getsrc.c: Include libdwP.h.
+ * dwfl_module_getsrc_file.c: Include libdwP.h.
+ * dwfl_segment_report_module.c: Include libelfP.h.
+ * elf-from-memory.c: Include libelfP.h.
+ * frame_unwind.c: Include dwarf.h.
+ * libdwflP.h: Include libdwP.h and libdwelfP.h. Don't include
+ debuginfod.h.
+ * lines.c: Include libdwP.h.
+ * link_map.c: Include memory-access.h.
+ * linux-core-attach.c: Include memory-access.h.
+ * open.c: Include libelfP.h.
+
2022-11-28 Gavin Li <gavin@matician.com>
Mark Wielaard <mark@klomp.org>
##
include $(top_srcdir)/config/eu.am
AM_CPPFLAGS += -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
- -I$(srcdir)/../libdw -I$(srcdir)/../libdwelf -I$(srcdir)/../debuginfod
+ -I$(srcdir)/../libdw -I$(srcdir)/../libdwelf -I$(builddir)/../debuginfod
VERSION = 1
noinst_LIBRARIES = libdwfl.a
not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
-#include "../libelf/libelfP.h" /* For NOTE_ALIGN. */
+#include "libelfP.h" /* For NOTE_ALIGN. */
#undef _
#include "libdwflP.h"
#include <gelf.h>
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
-#include "../libdw/memory-access.h"
+#include "libdwP.h"
+#include "memory-access.h"
#include <search.h>
#ifdef ENABLE_LIBDEBUGINFOD
+#include "debuginfod.h"
+
#include <pthread.h>
#include <dlfcn.h>
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
+#include "libdwP.h"
Dwarf_Line *
dwfl_dwarf_line (Dwfl_Line *line, Dwarf_Addr *bias)
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
+#include "libdwP.h"
const char *
dwfl_lineinfo (Dwfl_Line *line, Dwarf_Addr *addr, int *linep, int *colp,
#endif
#include "libdwflP.h"
-#include "../libdw/cfi.h"
+#include "cfi.h"
#include <search.h>
static void
#endif
#include "libdwflP.h"
-#include "../libdw/cfi.h"
+#include "cfi.h"
Dwarf_CFI *
internal_function
#endif
#include "libdwflP.h"
-#include "../libdw/cfi.h"
+#include "cfi.h"
Dwarf_CFI *
dwfl_module_eh_cfi (Dwfl_Module *mod, Dwarf_Addr *bias)
#include <inttypes.h>
#include <fcntl.h>
#include <string.h>
-#include "../libdw/libdwP.h" /* DWARF_E_* values are here. */
-#include "../libelf/libelfP.h"
+#include "libdwP.h" /* DWARF_E_* values are here. */
+#include "libelfP.h"
#include "system.h"
static inline Dwfl_Error
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
+#include "libdwP.h"
Dwfl_Line *
dwfl_module_getsrc (Dwfl_Module *mod, Dwarf_Addr addr)
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
+#include "libdwP.h"
static inline const char *
not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
-#include "../libelf/libelfP.h" /* For NOTE_ALIGN4 and NOTE_ALIGN8. */
+#include "libelfP.h" /* For NOTE_ALIGN4 and NOTE_ALIGN8. */
#undef _
#include "libdwflP.h"
#include "common.h"
not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
-#include "../libelf/libelfP.h"
+#include "libelfP.h"
#undef _
#include "libdwflP.h"
#include "cfi.h"
#include <stdlib.h>
#include "libdwflP.h"
-#include "../libdw/dwarf.h"
+#include "dwarf.h"
#include <system.h>
/* Maximum number of DWARF expression stack slots before returning an error. */
#include <stdlib.h>
#include <string.h>
-#include "../libdw/libdwP.h" /* We need its INTDECLs. */
-#include "../libdwelf/libdwelfP.h"
-
-#ifdef ENABLE_LIBDEBUGINFOD
-#include "../debuginfod/debuginfod.h"
-#endif
+#include "libdwP.h" /* We need its INTDECLs. */
+#include "libdwelfP.h"
typedef struct Dwfl_Process Dwfl_Process;
#endif
#include "libdwflP.h"
-#include "../libdw/libdwP.h"
+#include "libdwP.h"
Dwfl_Error
internal_function
#include <config.h>
#include "libdwflP.h"
-#include "../libdw/memory-access.h"
+#include "memory-access.h"
#include "system.h"
#include <fcntl.h>
#include <fcntl.h>
#include "system.h"
-#include "../libdw/memory-access.h"
+#include "memory-access.h"
struct core_arg
{
# include <config.h>
#endif
-#include "../libelf/libelfP.h"
+#include "libelfP.h"
#undef _
#include "libdwflP.h"