What about this `.gdbinit' file that allows to print position
in human-readable form with command like `pp pos'?  Place it
in `regression/' or from where you run GNU Go.


define pp
  call (void) gprintf("%1m\n", $arg0)
end

document pp
Pretty print a board position.  It uses gprintf(), so you shouldn't
have any breakpoints there.



_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel

Reply via email to