summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/ucli/Makefile1
-rw-r--r--source/ucli/elf.cc5
2 files changed, 5 insertions, 1 deletions
diff --git a/source/ucli/Makefile b/source/ucli/Makefile
index a13b2d0..dd0bf10 100644
--- a/source/ucli/Makefile
+++ b/source/ucli/Makefile
@@ -6,7 +6,6 @@ OBJECTS=$(SOURCES:.cc=.o)
CFLAGS=-g -O0
INCLUDES=-I/usr/include/elf
LIBS=-lunwind-x86_64 -lunwind -lelf
-
#-ldwarf -ldw
%.o: %.cc
diff --git a/source/ucli/elf.cc b/source/ucli/elf.cc
index 5b0037c..5db61ec 100644
--- a/source/ucli/elf.cc
+++ b/source/ucli/elf.cc
@@ -10,6 +10,8 @@
// #include <dwarf.h>
// #include <elfutils/libdw.h>
+// #include <dwarf.h>
+// #include <elfutils/libdw.h>
#define NS_NAME_LEN 128
@@ -274,6 +276,9 @@ static void get_all_symbols(std::set<symbol> &ss, symbol_sections_ctx *si,
// die_offset = next_offset;
// }
// }
+// die_offset = next_offset;
+// }
+// }
bool get_symbol_from_elf(std::set<symbol> &ss, const char *path) {
static int first_init = 0;