[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] simple GDB enhancement

From: Paul Pogonyshev
Subject: [gnugo-devel] simple GDB enhancement
Date: Sat, 9 Apr 2005 00:19:20 +0300
User-agent: KMail/1.4.3

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)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]