From: Mark Wooding Date: Sat, 31 May 2014 22:05:19 +0000 (+0100) Subject: regress/r1test: Support a `$debug' prefix variable. X-Git-Tag: make-bug.2014-07-26~41 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/commitdiff_plain/898afc783a7bd5947405b4fd828a34dfbd9b99a8?ds=inline;hp=898afc783a7bd5947405b4fd828a34dfbd9b99a8 regress/r1test: Support a `$debug' prefix variable. Amazingly, sometimes the tests don't pass. When that happens, it's handy to be able to debug the library and find out why. It's a little tricky to attach GDB to the running process directly. I used the following: $ debug="noip gdbserver localhost:666" ./r1test CASE and then, in another terminal, something like $ noip gdb adnstest_s (gdb) target remote localhost:666 to debug the program. Signed-off-by: Mark Wooding ---