[ ] Sunday, 3 March 2019 [ ]

OpenBSD debug build

  • Check out source tree [1]
  • make obj && make clean && make DEBUG=-g
  • Enable coredumps:
    • See sysctl(8)
    • mkdir -m 700 /var/crash/prog
    • sysctl kern.nosudicoredump=3
  • run debug binary…and wait for crash
  • gdb obj/prog /var/crash/prog/prog.core
  • (gdb) bt full


$Id: dates.htm,v 1.1192 2019/05/25 22:20:10 fred Exp $

$Id: diary,v 1.27 2017/09/01 17:12:44 fred Exp $