]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/dbxcoff.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / dbxcoff.h
CommitLineData
e786ce55 1/* Definitions needed when using stabs embedded in COFF sections.
99dee823 2 Copyright (C) 1996-2021 Free Software Foundation, Inc.
e786ce55 3
7ec022b2 4This file is part of GCC.
e786ce55 5
7ec022b2 6GCC is free software; you can redistribute it and/or modify
e786ce55 7it under the terms of the GNU General Public License as published by
2f83c7d6 8the Free Software Foundation; either version 3, or (at your option)
e786ce55
ILT
9any later version.
10
7ec022b2 11GCC is distributed in the hope that it will be useful,
e786ce55
ILT
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
2f83c7d6
NC
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
e786ce55
ILT
19
20/* This file may be included by any COFF target which wishes to
21 support -gstabs generating stabs in sections, as produced by gas
22 and understood by gdb. */
23
24/* Output DBX (stabs) debugging information if doing -gstabs. */
25
23532de9 26#define DBX_DEBUGGING_INFO 1
e786ce55 27
180295ed 28/* Generate DBX debugging information by default. */
e786ce55
ILT
29
30#ifndef PREFERRED_DEBUGGING_TYPE
180295ed 31#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
e786ce55
ILT
32#endif
33
34/* Be function-relative for block and source line stab directives. */
35
36#define DBX_BLOCKS_FUNCTION_RELATIVE 1
37
38/* but, to make this work, functions must appear prior to line info. */
39
40#define DBX_FUNCTION_FIRST
41
42/* Generate a blank trailing N_SO to mark the end of the .o file, since
43 we can't depend upon the linker to mark .o file boundaries with
44 embedded stabs. */
45
3e487b21 46#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
e786ce55
ILT
47
48/* Like block addresses, stabs line numbers are relative to the
49 current function. */
50
3e487b21 51#define DBX_LINES_FUNCTION_RELATIVE 1
a4f0488b
ILT
52
53/* When generating stabs debugging, use N_BINCL entries. */
54
e400d782 55#undef DBX_USE_BINCL
a4f0488b
ILT
56#define DBX_USE_BINCL
57
58/* There is no limit to the length of stabs strings. */
59
60#ifndef DBX_CONTIN_LENGTH
61#define DBX_CONTIN_LENGTH 0
62#endif