Warning, /frameworks/khtml/src/khtml-devel-gdb is written in an unsupported language. File is not indexed.
0001 # This file defines handy gdb macros for KHTML 0002 # To use it, add this line to your ~/.gdbinit : 0003 # source /path/to/kde/sources/kdelibs/khtml/khtml-devel-gdb 0004 0005 define printdomstring 0006 printdomstringimpl $arg0.impl 0007 end 0008 document printdomstring 0009 Prints the contents of a KHTML DOMString. 0010 end 0011 define printdomstringimpl 0012 set $i=0 0013 set $d = $arg0 0014 while $i < $d->l 0015 printf "%c", (char)($d->s[$i++].ucs & 0xff) 0016 end 0017 printf "\n" 0018 end 0019 document printdomstringimpl 0020 Prints the contents of a KHTML DOMStringImpl. 0021 end 0022