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