Add GDB module that defines an islprint command
commit262432efe8d0e323cf83ed98319378a249aa9a92
authorTobias Grosser <grosser@fim.uni-passau.de>
Thu, 30 Dec 2010 20:12:21 +0000 (30 15:12 -0500)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 31 Dec 2010 08:50:36 +0000 (31 09:50 +0100)
tree27e116498586028d646f4c0f11a6e19fa446642a
parent843d3aa51424772422f78b3454a0fd3f855d437d
Add GDB module that defines an islprint command

Add a python library that is installed next to libisl. GDB will automatically
load it and add a new gdbcommand called "islprint". This command can be used to
prettyprint isl values. It does not install an official pretty printer, as such
a printer will also pretty print stacktraces which may reference values already
freed.

Before:
(gdb) print stride
$1 = (isl_set *) 0x122e6c0

Now also possible:
(gdb) islprint stride
$1 = "{ MemRef_A[1] }"
(gdb) is stride
$1 = "{ MemRef_A[1] }"

Signed-off-by: Tobias Grosser <grosser@fim.uni-passau.de>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am
isl.py [new file with mode: 0644]