]>
Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* budbg.c -- Interfaces to the generic debugging information routines. |
51cdc6e0 | 2 | Copyright 1995, 1996, 2002, 2003 Free Software Foundation, Inc. |
252b5132 RH |
3 | Written by Ian Lance Taylor <[email protected]>. |
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., 59 Temple Place - Suite 330, Boston, MA | |
20 | 02111-1307, 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 | ||
51cdc6e0 | 29 | extern PTR read_debugging_info |
b34976b6 | 30 | PARAMS ((bfd *, asymbol **, long)); |
51cdc6e0 | 31 | |
252b5132 RH |
32 | /* Routine used to print generic debugging information. */ |
33 | ||
b34976b6 | 34 | extern bfd_boolean print_debugging_info |
51cdc6e0 | 35 | (FILE *, void *, bfd *, asymbol **, void *, bfd_boolean); |
252b5132 RH |
36 | |
37 | /* Routines used to read and write stabs information. */ | |
38 | ||
b34976b6 AM |
39 | extern PTR start_stab |
40 | PARAMS ((PTR, bfd *, bfd_boolean, asymbol **, long)); | |
252b5132 | 41 | |
b34976b6 AM |
42 | extern bfd_boolean finish_stab |
43 | PARAMS ((PTR, PTR)); | |
252b5132 | 44 | |
b34976b6 AM |
45 | extern bfd_boolean parse_stab |
46 | PARAMS ((PTR, PTR, int, int, bfd_vma, const char *)); | |
252b5132 | 47 | |
b34976b6 | 48 | extern bfd_boolean write_stabs_in_sections_debugging_info |
252b5132 RH |
49 | PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **, |
50 | bfd_size_type *)); | |
51 | ||
52 | /* Routines used to read and write IEEE debugging information. */ | |
53 | ||
b34976b6 | 54 | extern bfd_boolean parse_ieee |
252b5132 RH |
55 | PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type)); |
56 | ||
b34976b6 AM |
57 | extern bfd_boolean write_ieee_debugging_info |
58 | PARAMS ((bfd *, PTR)); | |
252b5132 RH |
59 | |
60 | /* Routine used to read COFF debugging information. */ | |
61 | ||
b34976b6 AM |
62 | extern bfd_boolean parse_coff |
63 | PARAMS ((bfd *, asymbol **, long, PTR)); | |
252b5132 RH |
64 | |
65 | #endif |