aboutsummaryrefslogtreecommitdiff
path: root/gdb/coff-pe-read.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2003-02-20 03:12:46 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2003-02-20 03:12:46 +0000
commit1b6bc7e06fbe55f437785412af8c56b741c1a46d (patch)
tree800fc0d8e9f9272cf4d29cb23986ec44952ec5ad /gdb/coff-pe-read.h
parent65279b928e4b1774d37fb2975015b347a37eae96 (diff)
downloadgdb-1b6bc7e06fbe55f437785412af8c56b741c1a46d.zip
gdb-1b6bc7e06fbe55f437785412af8c56b741c1a46d.tar.gz
gdb-1b6bc7e06fbe55f437785412af8c56b741c1a46d.tar.bz2
* coff-pe-read.c: New file - support reading of minimal symbols from a portable
executable using the export table. * coff-pe-read.h: New file. * coffread.c: Include coff-pe-read.h. (coff_symtab_read): Call read_pe_exported_syms iff no recognized debugging symbols found. * Makefile.in (SFILES): Add coff-pe-read.o. (coff_pe_read_h): Define. (COMMON_OBS): Add coff-pe-read.o. (coffread.o): Add coff_pe_read_h dependency. (coff-pe-read.o): New target.
Diffstat (limited to 'gdb/coff-pe-read.h')
-rw-r--r--gdb/coff-pe-read.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gdb/coff-pe-read.h b/gdb/coff-pe-read.h
new file mode 100644
index 0000000..c5d4e68
--- /dev/null
+++ b/gdb/coff-pe-read.h
@@ -0,0 +1,32 @@
+/* Interface to coff-pe-read.c (portable-executable-specific symbol reader).
+
+ Copyright 2003 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Contributed by Raoul M. Gough (RaoulGough@yahoo.co.uk). */
+
+#if !defined (COFF_PE_READ_H)
+#define COFF_PE_READ_H
+
+struct objfile;
+
+/* Read the export table and convert it to minimal symbol table entries */
+extern void read_pe_exported_syms (struct objfile *objfile);
+
+#endif /* !defined (COFF_PE_READ_H) */