home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / 2014.11.minnie.tuhs.org.tar / minnie.tuhs.org / UnixArchive / PDP-11 / Trees / V6 / usr / man / man5 / core.5 < prev    next >
Text File  |  1975-06-27  |  2KB  |  85 lines

  1. .th CORE V 2/11/75
  2. .sh NAME
  3. core \*- format of core image file
  4. .sh DESCRIPTION
  5. UNIX
  6. writes out a core image of a terminated
  7. process when any of various errors occur.
  8. See
  9. .it "signal (II)"
  10. for the list of reasons;
  11. the most common are memory violations, illegal
  12. instructions, bus errors, and user-generated
  13. quit signals.
  14. The core image is called ``core'' and is written in the process's
  15. working directory (provided it can be; normal
  16. access controls apply).
  17. .s3
  18. The first 1024 bytes of the core image
  19. are a copy of the system's per-user
  20. data for the process, including the registers
  21. as they were at the time of the fault.
  22. The
  23. remainder represents the actual contents of
  24. the user's core area when the core image
  25. was written.
  26. If the text segment
  27. is write-protected and shared,
  28. it is not dumped; otherwise the entire
  29. address space is dumped.
  30. .s3
  31. The format of the
  32. information in the first 1024 bytes
  33. is described by
  34. the
  35. .it user
  36. structure of the system.
  37. The important stuff not detailed therein is the locations of the registers.
  38. Here are their offsets.
  39. The parenthesized numbers for the floating registers are
  40. used if the floating-point hardware is in
  41. single precision mode,
  42. as indicated in the status register.
  43. .s3
  44. .lp +10 7
  45. fpsr    0004
  46. .lp +10 7
  47. fr0    0006  (0006)
  48. .lp +10 7
  49. fr1    0036  (0022)
  50. .lp +10 7
  51. fr2    0046  (0026)
  52. .lp +10 7
  53. fr3    0056  (0032)
  54. .lp +10 7
  55. fr4    0016  (0012)
  56. .lp +10 7
  57. fr5    0026  (0016)
  58. .lp +10 7
  59. r0    1772
  60. .lp +10 7
  61. r1    1766
  62. .lp +10 7
  63. r2    1750
  64. .lp +10 7
  65. r3    1752
  66. .lp +10 7
  67. r4    1754
  68. .lp +10 7
  69. r5    1756
  70. .lp +10 7
  71. sp    1764
  72. .lp +10 7
  73. pc    1774
  74. .lp +10 7
  75. ps    1776
  76. .s3
  77. .i0
  78. In general the debuggers
  79. .it "db (I)"
  80. and
  81. .it "cdb (I)"
  82. are sufficient to deal with core images.
  83. .sh "SEE ALSO"
  84. cdb (I), db (I), signal (II)
  85.