* gas/i386/amd.s: Add a symbol so a.out tests will work.
[deliverable/binutils-gdb.git] / gas / dwarf2dbg.h
CommitLineData
fac0d250
RH
1#ifndef AS_DWARF2DBG_H
2#define AS_DWARF2DBG_H
3
4#include "as.h"
5
6#define DWARF2_FLAG_BEGIN_STMT (1 << 0) /* beginning of statement */
7#define DWARF2_FLAG_BEGIN_BLOCK (1 << 1) /* beginning of basic block */
8
9struct dwarf2_line_info
10 {
11 char *filename;
12 unsigned int filenum;
13 unsigned int line;
14 unsigned int column;
15 unsigned int flags;
16 };
17
18/* Implements the .file FILENO "FILENAME" directive. FILENO can be 0
19 to indicate that no file number has been assigned. All real file
20 number must be >0. */
a7cd1c22 21extern void dwarf2_directive_file PARAMS ((int dummy));
fac0d250
RH
22
23/* Implements the .loc FILENO LINENO [COLUMN] directive. FILENO is
24 the file number, LINENO the line number and the (optional) COLUMN
25 the column of the source code that the following instruction
26 corresponds to. FILENO can be 0 to indicate that the filename
27 specified by the textually most recent .file directive should be
28 used. */
a7cd1c22 29extern void dwarf2_directive_loc PARAMS ((int dummy));
fac0d250
RH
30
31/* Returns the current source information. If .file directives have
32 been encountered, the info for the corresponding source file is
33 returned. Otherwise, the info for the assembly source file is
34 returned. */
a7cd1c22 35extern void dwarf2_where PARAMS ((struct dwarf2_line_info *l));
fac0d250
RH
36
37/* This function generates .debug_line info based on the address and
38 source information passed in the arguments. ADDR should be the
39 frag-relative offset of the instruction the information is for and
40 L is the source information that should be associated with that
41 address. */
a7cd1c22
ILT
42extern void dwarf2_gen_line_info PARAMS ((bfd_vma addr,
43 struct dwarf2_line_info *l));
fac0d250
RH
44
45/* Must be called after all other input is processed to finish up the
46 .debug_line section. */
a7cd1c22 47extern void dwarf2_finish PARAMS ((void));
fac0d250
RH
48
49#endif /* AS_DWARF2DBG_H */
This page took 0.025834 seconds and 4 git commands to generate.