00001 /* budbg.c -- Interfaces to the generic debugging information routines. 00002 Copyright (C) 1995, 1996 Free Software Foundation, Inc. 00003 Written by Ian Lance Taylor <ian@cygnus.com>. 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., 59 Temple Place - Suite 330, Boston, MA 00020 02111-1307, USA. */ 00021 00022 #ifndef BUDBG_H 00023 #define BUDBG_H 00024 00025 #include <stdio.h> 00026 00027 #ifndef BFD_TRUE_FALSE 00028 #define boolean bfd_boolean 00029 #define true TRUE 00030 #define false FALSE 00031 #endif 00032 00033 /* Routine used to read generic debugging information. */ 00034 00035 extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long)); 00036 00037 /* Routine used to print generic debugging information. */ 00038 00039 extern boolean print_debugging_info PARAMS ((FILE *, PTR)); 00040 00041 /* Routines used to read and write stabs information. */ 00042 00043 extern PTR start_stab PARAMS ((PTR, bfd *, boolean, asymbol **, long)); 00044 00045 extern boolean finish_stab PARAMS ((PTR, PTR)); 00046 00047 extern boolean parse_stab PARAMS ((PTR, PTR, int, int, bfd_vma, const char *)); 00048 00049 extern boolean write_stabs_in_sections_debugging_info 00050 PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **, 00051 bfd_size_type *)); 00052 00053 /* Routines used to read and write IEEE debugging information. */ 00054 00055 extern boolean parse_ieee 00056 PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type)); 00057 00058 extern boolean write_ieee_debugging_info PARAMS ((bfd *, PTR)); 00059 00060 /* Routine used to read COFF debugging information. */ 00061 00062 extern boolean parse_coff PARAMS ((bfd *, asymbol **, long, PTR)); 00063 00064 #endif
1.4.7

