2003-02-20 03:12:46 +00:00
|
|
|
/* Interface to coff-pe-read.c (portable-executable-specific symbol reader).
|
|
|
|
|
2016-01-01 04:33:14 +00:00
|
|
|
Copyright (C) 2003-2016 Free Software Foundation, Inc.
|
2003-02-20 03:12:46 +00:00
|
|
|
|
|
|
|
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
|
2007-08-23 18:08:50 +00:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2003-02-20 03:12:46 +00:00
|
|
|
(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
|
2007-08-23 18:08:50 +00:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2003-02-20 03:12:46 +00:00
|
|
|
|
2011-01-07 19:36:19 +00:00
|
|
|
Contributed by Raoul M. Gough (RaoulGough@yahoo.co.uk). */
|
2003-02-20 03:12:46 +00:00
|
|
|
|
|
|
|
#if !defined (COFF_PE_READ_H)
|
|
|
|
#define COFF_PE_READ_H
|
|
|
|
|
|
|
|
struct objfile;
|
2012-12-13 10:44:45 +00:00
|
|
|
struct bfd;
|
2003-02-20 03:12:46 +00:00
|
|
|
|
2010-12-31 22:59:52 +00:00
|
|
|
/* Read the export table and convert it to minimal symbol table
|
|
|
|
entries */
|
2003-02-20 03:12:46 +00:00
|
|
|
extern void read_pe_exported_syms (struct objfile *objfile);
|
|
|
|
|
2012-12-13 10:44:45 +00:00
|
|
|
/* 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);
|
|
|
|
|
2003-02-20 03:12:46 +00:00
|
|
|
#endif /* !defined (COFF_PE_READ_H) */
|