mdebugread.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Read a symbol table in ECOFF format (Third-Eye).
  2. Copyright (C) 2004-2022 Free Software Foundation, Inc.
  3. This file is part of GDB.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  14. #ifndef MDEBUGREAD_H
  15. #define MDEBUGREAD_H
  16. #include "coff/sym.h" /* Needed for PDR below. */
  17. #include "coff/symconst.h"
  18. /* Specific information about a procedure. Architectures (ab)uses
  19. this to save memory. */
  20. struct mdebug_extra_func_info
  21. {
  22. long numargs; /* Number of args to procedure (was iopt). */
  23. PDR pdr; /* Procedure descriptor record. */
  24. };
  25. /* Special symbol found in blocks associated with routines. We can
  26. hang mdebug_extra_func_info's off of this. */
  27. #define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
  28. extern void mdebug_build_psymtabs (minimal_symbol_reader &,
  29. struct objfile *,
  30. const struct ecoff_debug_swap *,
  31. struct ecoff_debug_info *);
  32. extern void elfmdebug_build_psymtabs (struct objfile *,
  33. const struct ecoff_debug_swap *,
  34. asection *);
  35. #endif /* MDEBUGREAD_H */