Merge branch 'master' of https://git.mesalab.cn/zhangyang/variable_monitor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <sys/utsname.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// #include <dwarf.h>
|
||||
// #include <elfutils/libdw.h>
|
||||
// #include <dwarf.h>
|
||||
// #include <elfutils/libdw.h>
|
||||
|
||||
@@ -271,6 +273,9 @@ static void get_all_symbols(std::set<symbol> &ss, symbol_sections_ctx *si,
|
||||
// }
|
||||
// } while (dwarf_siblingof(&die, &die) == 0);
|
||||
|
||||
// die_offset = next_offset;
|
||||
// }
|
||||
// }
|
||||
// die_offset = next_offset;
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user