Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-01-27 01:17:23 +0000
committereutarass2011-01-27 01:17:23 +0000
commit57ed8ebc05d28b353512828632583ec000574654 (patch)
tree9a6eee7358cf680b49919929ef5f418b77589497 /services/tcf_elf.h
parente513f82c7b7e97f34e7165826683b125a0432e95 (diff)
downloadorg.eclipse.tcf.agent-57ed8ebc05d28b353512828632583ec000574654.tar.gz
org.eclipse.tcf.agent-57ed8ebc05d28b353512828632583ec000574654.tar.xz
org.eclipse.tcf.agent-57ed8ebc05d28b353512828632583ec000574654.zip
TCF Agent:
1. added .debug_pubnames and .debug_pubtypes section handling in DWARF reader. 2. much faster symbol by address search in ELF symbol tables
Diffstat (limited to 'services/tcf_elf.h')
-rw-r--r--services/tcf_elf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/services/tcf_elf.h b/services/tcf_elf.h
index 03b2ce29..7aef1251 100644
--- a/services/tcf_elf.h
+++ b/services/tcf_elf.h
@@ -339,6 +339,7 @@ typedef int64_t I8_T;
typedef struct ELF_File ELF_File;
typedef struct ELF_Section ELF_Section;
+typedef struct ELF_SecSymbol ELF_SecSymbol;
typedef struct ELF_PHeader ELF_PHeader;
struct ELF_File {
@@ -374,6 +375,12 @@ struct ELF_File {
char * debug_info_file_name;
};
+struct ELF_SecSymbol {
+ void * parent;
+ unsigned index;
+ U8_T address;
+};
+
struct ELF_Section {
ELF_File * file;
U4_T index;
@@ -393,6 +400,10 @@ struct ELF_Section {
size_t mmap_size;
int relocate;
+
+ ELF_SecSymbol * symbols;
+ unsigned symbols_cnt;
+ unsigned symbols_max;
};
struct ELF_PHeader {

Back to the top