Back to index

cell-binutils  2.17cvs20070401
corefile.h
Go to the documentation of this file.
00001 /* corefile.h
00002 
00003    Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
00004 
00005 This file is part of GNU Binutils.
00006 
00007 This program is free software; you can redistribute it and/or modify
00008 it under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or
00010 (at your option) any later version.
00011 
00012 This program is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with this program; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00020 
00021 #ifndef corefile_h
00022 #define corefile_h
00023 
00024 struct function_map
00025 {
00026   char *function_name;
00027   char *file_name;
00028 };
00029 
00030 extern struct function_map *symbol_map;
00031 extern unsigned int symbol_map_count;
00032 
00033 extern bfd *core_bfd;              /* BFD for core-file.  */
00034 extern asection *core_text_sect;/* Core text section.  */
00035 extern PTR core_text_space; /* Text space of a.out in core.  */
00036 extern int offset_to_code;  /* Offset (in bytes) of code from entry
00037                                address of routine.  */
00038 
00039 extern void core_init                  (const char *);
00040 extern void core_get_text_space        (bfd *);
00041 extern void core_create_function_syms  (void);
00042 extern void core_create_line_syms      (void);
00043 
00044 #endif /* corefile_h */