gdb.pas 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. Copyright (c) 1998-2002 by Florian Klaempfl
  3. This units contains special support for the 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 2 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, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. ****************************************************************************
  16. }
  17. unit gdb;
  18. {$i fpcdefs.inc}
  19. interface
  20. uses
  21. strings,
  22. globtype,
  23. aasmtai;
  24. {stab constants }
  25. Const
  26. N_GSYM = $20;
  27. N_STSYM = 38; {initialized const }
  28. N_LCSYM = 40; {non initialized variable}
  29. N_Function = $24; {function or const }
  30. N_TextLine = $44;
  31. N_DataLine = $46;
  32. N_BssLine = $48;
  33. N_RSYM = $40; { register variable }
  34. N_LSYM = $80;
  35. N_tsym = 160;
  36. N_SourceFile = $64;
  37. N_IncludeFile = $84;
  38. N_BINCL = $82;
  39. N_EINCL = $A2;
  40. N_EXCL = $C2;
  41. implementation
  42. uses fmodule;
  43. end.