Back to index

cell-binutils  2.17cvs20070401
budbg.h
Go to the documentation of this file.
00001 /* budbg.c -- Interfaces to the generic debugging information routines.
00002    Copyright 1995, 1996, 2002, 2003 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., 51 Franklin Street - Fifth Floor, Boston, MA
00020    02110-1301, USA.  */
00021 
00022 #ifndef BUDBG_H
00023 #define BUDBG_H
00024 
00025 #include <stdio.h>
00026 
00027 /* Routine used to read generic debugging information.  */
00028 
00029 extern void *read_debugging_info (bfd *, asymbol **, long);
00030 
00031 /* Routine used to print generic debugging information.  */
00032 
00033 extern bfd_boolean print_debugging_info
00034   (FILE *, void *, bfd *, asymbol **, void *, bfd_boolean);
00035 
00036 /* Routines used to read and write stabs information.  */
00037 
00038 extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long);
00039 
00040 extern bfd_boolean finish_stab (void *, void *);
00041 
00042 extern bfd_boolean parse_stab
00043   (void *, void *, int, int, bfd_vma, const char *);
00044 
00045 extern bfd_boolean write_stabs_in_sections_debugging_info
00046   (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
00047 
00048 /* Routines used to read and write IEEE debugging information.  */
00049 
00050 extern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type);
00051 
00052 extern bfd_boolean write_ieee_debugging_info (bfd *, void *);
00053 
00054 /* Routine used to read COFF debugging information.  */
00055 
00056 extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
00057 
00058 #endif