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 @@ -8,6 +8,8 @@ #include #include +// #include +// #include // #include // #include @@ -271,6 +273,9 @@ static void get_all_symbols(std::set &ss, symbol_sections_ctx *si, // } // } while (dwarf_siblingof(&die, &die) == 0); +// die_offset = next_offset; +// } +// } // die_offset = next_offset; // } // }