OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [dbxelf.h] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Definitions needed when using stabs embedded in ELF sections.
2
   Copyright (C) 1999, 2004 Free Software Foundation, Inc.
3
 
4
This file is part of GCC.
5
 
6
GCC is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2, or (at your option)
9
any later version.
10
 
11
GCC is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15
 
16
You should have received a copy of the GNU General Public License
17
along with GCC; see the file COPYING.  If not, write to
18
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.  */
20
 
21
/* This file may be included by any ELF target which wishes to
22
   support -gstabs generating stabs in sections, as produced by gas
23
   and understood by gdb.  */
24
 
25
#ifndef GCC_DBX_ELF_H
26
#define GCC_DBX_ELF_H
27
 
28
/* Output DBX (stabs) debugging information if doing -gstabs.  */
29
 
30
#define DBX_DEBUGGING_INFO 1
31
 
32
/* Make LBRAC and RBRAC addresses relative to the start of the
33
   function.  The native Solaris stabs debugging format works this
34
   way, gdb expects it, and it reduces the number of relocation
35
   entries...  */
36
 
37
#define DBX_BLOCKS_FUNCTION_RELATIVE 1
38
 
39
/* ... but, to make this work, functions must appear prior to line info.  */
40
 
41
#define DBX_FUNCTION_FIRST
42
 
43
/* When generating stabs debugging, use N_BINCL entries.  */
44
 
45
#define DBX_USE_BINCL
46
 
47
/* There is no limit to the length of stabs strings.  */
48
 
49
#ifndef DBX_CONTIN_LENGTH
50
#define DBX_CONTIN_LENGTH 0
51
#endif
52
 
53
/* Like block addresses, stabs line numbers are relative to the
54
   current function.  */
55
 
56
#define DBX_LINES_FUNCTION_RELATIVE 1
57
 
58
/* Generate a blank trailing N_SO to mark the end of the .o file, since
59
   we can't depend upon the linker to mark .o file boundaries with
60
   embedded stabs.  */
61
 
62
#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
63
 
64
#endif /* ! GCC_DBX_ELF_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.