1
/* budbg.c -- Interfaces to the generic debugging information routines.
2
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
3
Written by Ian Lance Taylor <ian@cygnus.com>.
5
This file is part of GNU Binutils.
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
27
#ifndef BFD_TRUE_FALSE
28
#define boolean bfd_boolean
33
/* Routine used to read generic debugging information. */
35
extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long));
37
/* Routine used to print generic debugging information. */
39
extern boolean print_debugging_info PARAMS ((FILE *, PTR));
41
/* Routines used to read and write stabs information. */
43
extern PTR start_stab PARAMS ((PTR, bfd *, boolean, asymbol **, long));
45
extern boolean finish_stab PARAMS ((PTR, PTR));
47
extern boolean parse_stab PARAMS ((PTR, PTR, int, int, bfd_vma, const char *));
49
extern boolean write_stabs_in_sections_debugging_info
50
PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **,
53
/* Routines used to read and write IEEE debugging information. */
55
extern boolean parse_ieee
56
PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type));
58
extern boolean write_ieee_debugging_info PARAMS ((bfd *, PTR));
60
/* Routine used to read COFF debugging information. */
62
extern boolean parse_coff PARAMS ((bfd *, asymbol **, long, PTR));