summaryrefslogtreecommitdiff
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
commitbefb1895c10e341de4dfff1ab12f57a47e96bff2 (patch)
tree56b1ac1f920daf3a1318c8f51a79701cae0f4ff3 /gdb/coff-pe-read.h
parent914fef269a188d9d91c8a3a6c83c5965198b7c1e (diff)
downloadgdb-befb1895c10e341de4dfff1ab12f57a47e96bff2.tar.gz
* 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 00000000000..c5d4e68bc17
--- /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) */