aboutsummaryrefslogtreecommitdiff
path: root/gdb/coff-pe-read.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coff-pe-read.h')
-rw-r--r--gdb/coff-pe-read.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/coff-pe-read.h b/gdb/coff-pe-read.h
index 5dbe878..24153f0 100644
--- a/gdb/coff-pe-read.h
+++ b/gdb/coff-pe-read.h
@@ -23,9 +23,14 @@
#define COFF_PE_READ_H
struct objfile;
+struct bfd;
/* Read the export table and convert it to minimal symbol table
entries */
extern void read_pe_exported_syms (struct objfile *objfile);
+/* Extract from ABFD the offset of the .text section.
+ Returns default value 0x1000 if information is not found. */
+extern CORE_ADDR pe_text_section_offset (struct bfd *abfd);
+
#endif /* !defined (COFF_PE_READ_H) */