xref: /dflybsd-src/contrib/binutils-2.34/binutils/budbg.h (revision b52ef7118d1621abed722c5bbbd542210290ecef)
1*fae548d3Szrj /* budbg.c -- Interfaces to the generic debugging information routines.
2*fae548d3Szrj    Copyright (C) 1995-2020 Free Software Foundation, Inc.
3*fae548d3Szrj    Written by Ian Lance Taylor <ian@cygnus.com>.
4*fae548d3Szrj 
5*fae548d3Szrj    This file is part of GNU Binutils.
6*fae548d3Szrj 
7*fae548d3Szrj    This program is free software; you can redistribute it and/or modify
8*fae548d3Szrj    it under the terms of the GNU General Public License as published by
9*fae548d3Szrj    the Free Software Foundation; either version 3 of the License, or
10*fae548d3Szrj    (at your option) any later version.
11*fae548d3Szrj 
12*fae548d3Szrj    This program is distributed in the hope that it will be useful,
13*fae548d3Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
14*fae548d3Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*fae548d3Szrj    GNU General Public License for more details.
16*fae548d3Szrj 
17*fae548d3Szrj    You should have received a copy of the GNU General Public License
18*fae548d3Szrj    along with this program; if not, write to the Free Software
19*fae548d3Szrj    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20*fae548d3Szrj    02110-1301, USA.  */
21*fae548d3Szrj 
22*fae548d3Szrj #ifndef BUDBG_H
23*fae548d3Szrj #define BUDBG_H
24*fae548d3Szrj 
25*fae548d3Szrj /* Routine used to read generic debugging information.  */
26*fae548d3Szrj 
27*fae548d3Szrj extern void *read_debugging_info (bfd *, asymbol **, long, bfd_boolean);
28*fae548d3Szrj 
29*fae548d3Szrj /* Routine used to print generic debugging information.  */
30*fae548d3Szrj 
31*fae548d3Szrj extern bfd_boolean print_debugging_info
32*fae548d3Szrj   (FILE *, void *, bfd *, asymbol **,
33*fae548d3Szrj    char * (*) (struct bfd *, const char *, int), bfd_boolean);
34*fae548d3Szrj 
35*fae548d3Szrj /* Routines used to read and write stabs information.  */
36*fae548d3Szrj 
37*fae548d3Szrj extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long);
38*fae548d3Szrj 
39*fae548d3Szrj extern bfd_boolean finish_stab (void *, void *);
40*fae548d3Szrj 
41*fae548d3Szrj extern bfd_boolean parse_stab
42*fae548d3Szrj   (void *, void *, int, int, bfd_vma, const char *);
43*fae548d3Szrj 
44*fae548d3Szrj extern bfd_boolean write_stabs_in_sections_debugging_info
45*fae548d3Szrj   (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
46*fae548d3Szrj 
47*fae548d3Szrj /* Routine used to read COFF debugging information.  */
48*fae548d3Szrj 
49*fae548d3Szrj extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
50*fae548d3Szrj 
51*fae548d3Szrj #endif
52