budbg.h revision 130561
133965Sjdp/* budbg.c -- Interfaces to the generic debugging information routines. 2130561Sobrien Copyright 1995, 1996, 2002, 2003 Free Software Foundation, Inc. 333965Sjdp Written by Ian Lance Taylor <ian@cygnus.com>. 433965Sjdp 533965Sjdp This file is part of GNU Binutils. 633965Sjdp 733965Sjdp This program is free software; you can redistribute it and/or modify 833965Sjdp it under the terms of the GNU General Public License as published by 933965Sjdp the Free Software Foundation; either version 2 of the License, or 1033965Sjdp (at your option) any later version. 1133965Sjdp 1233965Sjdp This program is distributed in the hope that it will be useful, 1333965Sjdp but WITHOUT ANY WARRANTY; without even the implied warranty of 1433965Sjdp MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1533965Sjdp GNU General Public License for more details. 1633965Sjdp 1733965Sjdp You should have received a copy of the GNU General Public License 1833965Sjdp along with this program; if not, write to the Free Software 1933965Sjdp Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 2033965Sjdp 02111-1307, USA. */ 2133965Sjdp 2233965Sjdp#ifndef BUDBG_H 2333965Sjdp#define BUDBG_H 2433965Sjdp 2533965Sjdp#include <stdio.h> 2633965Sjdp 2733965Sjdp/* Routine used to read generic debugging information. */ 2833965Sjdp 29130561Sobrienextern void *read_debugging_info (bfd *, asymbol **, long); 3033965Sjdp 3133965Sjdp/* Routine used to print generic debugging information. */ 3233965Sjdp 33130561Sobrienextern bfd_boolean print_debugging_info 34130561Sobrien (FILE *, void *, bfd *, asymbol **, void *, bfd_boolean); 3533965Sjdp 3633965Sjdp/* Routines used to read and write stabs information. */ 3733965Sjdp 38130561Sobrienextern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long); 3933965Sjdp 40130561Sobrienextern bfd_boolean finish_stab (void *, void *); 4133965Sjdp 42130561Sobrienextern bfd_boolean parse_stab 43130561Sobrien (void *, void *, int, int, bfd_vma, const char *); 4433965Sjdp 45130561Sobrienextern bfd_boolean write_stabs_in_sections_debugging_info 46130561Sobrien (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *); 4733965Sjdp 4833965Sjdp/* Routines used to read and write IEEE debugging information. */ 4933965Sjdp 50130561Sobrienextern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type); 5133965Sjdp 52130561Sobrienextern bfd_boolean write_ieee_debugging_info (bfd *, void *); 5333965Sjdp 5433965Sjdp/* Routine used to read COFF debugging information. */ 5533965Sjdp 56130561Sobrienextern bfd_boolean parse_coff (bfd *, asymbol **, long, void *); 5733965Sjdp 5833965Sjdp#endif 59