diff options
| author | John Doe <[email protected]> | 2023-12-08 02:55:12 +0000 |
|---|---|---|
| committer | John Doe <[email protected]> | 2023-12-08 02:55:12 +0000 |
| commit | d123dcf5cffefb3d8c2a34c490fae29ffe915b18 (patch) | |
| tree | 881d3ef4dd2081a699f24e1f4f8d4aafdcc2233d | |
| parent | 8c87c67b302a7cb53a7bd69e66df6d2a9ef25165 (diff) | |
| parent | 5d3ec27b766a18a12869de6c7fa357083c27cd5c (diff) | |
Merge branch 'master' of https://git.mesalab.cn/zhangyang/variable_monitor
| -rw-r--r-- | source/ucli/Makefile | 1 | ||||
| -rw-r--r-- | source/ucli/elf.cc | 5 |
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; |
