1 # This file defines handy gdb macros for KHTML
2 # To use it, add this line to your ~/.gdbinit :
3 # source /path/to/kde/sources/kdelibs/khtml/khtml-devel-gdb
6 printdomstringimpl $arg0.impl
8 document printdomstring
9 Prints the contents of a KHTML DOMString.
11 define printdomstringimpl
15 printf "%c", (char)($d->s[$i++].ucs & 0xff)
19 document printdomstringimpl
20 Prints the contents of a KHTML DOMStringImpl.