Merge branch 'vendor/TNFTP'
[dragonfly.git] / contrib / binutils-2.17 / binutils / budbg.h
1 /* budbg.c -- Interfaces to the generic debugging information routines.
2    Copyright 1995, 1996, 2002, 2003 Free Software Foundation, Inc.
3    Written by Ian Lance Taylor <ian@cygnus.com>.
4
5    This file is part of GNU Binutils.
6
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.
11
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.
16
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., 51 Franklin Street - Fifth Floor, Boston, MA
20    02110-1301, USA.  */
21
22 #ifndef BUDBG_H
23 #define BUDBG_H
24
25 #include <stdio.h>
26
27 /* Routine used to read generic debugging information.  */
28
29 extern void *read_debugging_info (bfd *, asymbol **, long);
30
31 /* Routine used to print generic debugging information.  */
32
33 extern bfd_boolean print_debugging_info
34   (FILE *, void *, bfd *, asymbol **, void *, bfd_boolean);
35
36 /* Routines used to read and write stabs information.  */
37
38 extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long);
39
40 extern bfd_boolean finish_stab (void *, void *);
41
42 extern bfd_boolean parse_stab
43   (void *, void *, int, int, bfd_vma, const char *);
44
45 extern bfd_boolean write_stabs_in_sections_debugging_info
46   (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
47
48 /* Routines used to read and write IEEE debugging information.  */
49
50 extern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type);
51
52 extern bfd_boolean write_ieee_debugging_info (bfd *, void *);
53
54 /* Routine used to read COFF debugging information.  */
55
56 extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
57
58 #endif