budbg.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* budbg.c -- Interfaces to the generic debugging information routines.
  2. Copyright (C) 1995-2015 Free Software Foundation, Inc.
  3. Written by Ian Lance Taylor <ian@cygnus.com>.
  4. This file is part of GNU Binutils.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  16. 02110-1301, USA. */
  17. #ifndef BUDBG_H
  18. #define BUDBG_H
  19. /* Routine used to read generic debugging information. */
  20. extern void *read_debugging_info (bfd *, asymbol **, long, bfd_boolean);
  21. /* Routine used to print generic debugging information. */
  22. extern bfd_boolean print_debugging_info
  23. (FILE *, void *, bfd *, asymbol **,
  24. char * (*) (struct bfd *, const char *, int), bfd_boolean);
  25. /* Routines used to read and write stabs information. */
  26. extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long);
  27. extern bfd_boolean finish_stab (void *, void *);
  28. extern bfd_boolean parse_stab
  29. (void *, void *, int, int, bfd_vma, const char *);
  30. extern bfd_boolean write_stabs_in_sections_debugging_info
  31. (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
  32. /* Routines used to read and write IEEE debugging information. */
  33. extern bfd_boolean parse_ieee (void *, bfd *, const bfd_byte *, bfd_size_type);
  34. extern bfd_boolean write_ieee_debugging_info (bfd *, void *);
  35. /* Routine used to read COFF debugging information. */
  36. extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *);
  37. #endif