.gdbinit 573 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. unset-e EDITOR
  2. unset-e MAILER
  3. unset-e MAN
  4. unset-e MORE
  5. unset-e NAME
  6. unset-e ORGANIZATION
  7. unset-e PAGER
  8. unset-e TERMCAP
  9. define ptc
  10. output (enum tree_code) $.shared.code
  11. echo \n
  12. end
  13. document ptc
  14. Print the tree-code of the tree node that is $.
  15. end
  16. define pdn
  17. output $.decl.name->identifier.pointer
  18. echo \n
  19. end
  20. document pdn
  21. Print the name of the decl-node that is $.
  22. end
  23. define prc
  24. output (enum rtx_code) $.code
  25. echo \n
  26. end
  27. document prc
  28. Print the rtx-code of the rtx that is $.
  29. end
  30. define pi
  31. print $.fld[0].rtx@6
  32. end
  33. document pi
  34. Print the fields of an instruction.
  35. end