budbg.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* budbg.c -- Interfaces to the generic debugging information routines.
  2. Copyright (C) 1995-2022 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, bool);
  21. /* Routine used to print generic debugging information. */
  22. extern bool print_debugging_info
  23. (FILE *, void *, bfd *, asymbol **,
  24. char * (*) (struct bfd *, const char *, int), bool);
  25. /* Routines used to read and write stabs information. */
  26. extern void *start_stab (void *, bfd *, bool, asymbol **, long);
  27. extern bool finish_stab (void *, void *);
  28. extern bool parse_stab
  29. (void *, void *, int, int, bfd_vma, const char *);
  30. extern bool write_stabs_in_sections_debugging_info
  31. (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *);
  32. /* Routine used to read COFF debugging information. */
  33. extern bool parse_coff (bfd *, asymbol **, long, void *);
  34. #endif