dbxout.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* dbxout.h - Various declarations for functions found in dbxout.c
  2. Copyright (C) 1998-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_DBXOUT_H
  16. #define GCC_DBXOUT_H
  17. extern int dbxout_symbol (tree, int);
  18. extern void dbxout_parms (tree);
  19. extern void dbxout_reg_parms (tree);
  20. extern int dbxout_syms (tree);
  21. extern void default_stabs_asm_out_destructor (rtx, int);
  22. extern void default_stabs_asm_out_constructor (rtx, int);
  23. /* dbxout helper functions */
  24. #if defined DBX_DEBUGGING_INFO || defined XCOFF_DEBUGGING_INFO
  25. extern void dbxout_int (int);
  26. extern void dbxout_stabd (int, int);
  27. extern void dbxout_begin_stabn (int);
  28. extern void dbxout_begin_stabn_sline (int);
  29. extern void dbxout_begin_empty_stabs (int);
  30. extern void dbxout_begin_simple_stabs (const char *, int);
  31. extern void dbxout_begin_simple_stabs_desc (const char *, int, int);
  32. extern void dbxout_stab_value_zero (void);
  33. extern void dbxout_stab_value_label (const char *);
  34. extern void dbxout_stab_value_label_diff (const char *, const char *);
  35. extern void dbxout_stab_value_internal_label (const char *, int *);
  36. extern void dbxout_stab_value_internal_label_diff (const char *, int *,
  37. const char *);
  38. #endif
  39. /* Language description for N_SO stabs. */
  40. #define N_SO_AS 1
  41. #define N_SO_C 2
  42. #define N_SO_ANSI_C 3
  43. #define N_SO_CC 4 /* c++*/
  44. #define N_SO_FORTRAN 5
  45. #define N_SO_PASCAL 6
  46. #define N_SO_FORTRAN90 7
  47. #define N_SO_OBJC 50
  48. #define N_SO_OBJCPLUS 51
  49. #endif /* GCC_DBXOUT_H */