]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/budbg.h
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / budbg.h
CommitLineData
252b5132 1/* budbg.c -- Interfaces to the generic debugging information routines.
fd67aa11 2 Copyright (C) 1995-2024 Free Software Foundation, Inc.
252b5132
RH
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
32866df7 9 the Free Software Foundation; either version 3 of the License, or
252b5132
RH
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
b43b5d5f
NC
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20 02110-1301, USA. */
252b5132
RH
21
22#ifndef BUDBG_H
23#define BUDBG_H
24
252b5132
RH
25/* Routine used to read generic debugging information. */
26
015dc7e1 27extern void *read_debugging_info (bfd *, asymbol **, long, bool);
2da42df6 28
252b5132
RH
29/* Routine used to print generic debugging information. */
30
015dc7e1 31extern bool print_debugging_info
b38ead21 32 (FILE *, void *, bfd *, asymbol **,
015dc7e1 33 char * (*) (struct bfd *, const char *, int), bool);
252b5132
RH
34
35/* Routines used to read and write stabs information. */
36
015dc7e1 37extern void *start_stab (void *, bfd *, bool, asymbol **, long);
252b5132 38
19cacf67 39extern bool finish_stab (void *, void *, bool);
252b5132 40
015dc7e1 41extern bool parse_stab
19cacf67 42 (void *, void *, int, int, bfd_vma, const char *);
252b5132 43
015dc7e1 44extern bool write_stabs_in_sections_debugging_info
2da42df6 45 (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
252b5132 46
252b5132
RH
47/* Routine used to read COFF debugging information. */
48
015dc7e1 49extern bool parse_coff (bfd *, asymbol **, long, void *);
252b5132
RH
50
51#endif