]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/budbg.h
2013-02-14 Pedro Alves <pedro@codesourcery.com>
[thirdparty/binutils-gdb.git] / binutils / budbg.h
CommitLineData
252b5132 1/* budbg.c -- Interfaces to the generic debugging information routines.
dbb7c441 2 Copyright 1995, 1996, 2002, 2003, 2005, 2007, 2008, 2012
aa820537 3 Free Software Foundation, Inc.
252b5132
RH
4 Written by Ian Lance Taylor <ian@cygnus.com>.
5
6 This file is part of GNU Binutils.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
32866df7 10 the Free Software Foundation; either version 3 of the License, or
252b5132
RH
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
b43b5d5f
NC
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
21 02110-1301, USA. */
252b5132
RH
22
23#ifndef BUDBG_H
24#define BUDBG_H
25
252b5132
RH
26/* Routine used to read generic debugging information. */
27
b922d590 28extern void *read_debugging_info (bfd *, asymbol **, long, bfd_boolean);
2da42df6 29
252b5132
RH
30/* Routine used to print generic debugging information. */
31
b34976b6 32extern bfd_boolean print_debugging_info
51cdc6e0 33 (FILE *, void *, bfd *, asymbol **, void *, bfd_boolean);
252b5132
RH
34
35/* Routines used to read and write stabs information. */
36
2da42df6 37extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long);
252b5132 38
2da42df6 39extern bfd_boolean finish_stab (void *, void *);
252b5132 40
b34976b6 41extern bfd_boolean parse_stab
2da42df6 42 (void *, void *, int, int, bfd_vma, const char *);
252b5132 43
b34976b6 44extern bfd_boolean write_stabs_in_sections_debugging_info
2da42df6 45 (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
252b5132
RH
46
47/* Routines used to read and write IEEE debugging information. */
48
2da42df6 49extern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type);
252b5132 50
2da42df6 51extern bfd_boolean write_ieee_debugging_info (bfd *, void *);
252b5132
RH
52
53/* Routine used to read COFF debugging information. */
54
2da42df6 55extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
252b5132
RH
56
57#endif