Warning, /frameworks/kjs/src/kjs-devel-gdb is written in an unsupported language. File is not indexed.
0001 # This file defines handy gdb macros 0002 # To use it, add this line to your ~/.gdbinit : 0003 # source /path/to/kde/sources/kdelibs/kjs/kjs-devel-gdb 0004 0005 define printucharstar 0006 set $i=0 0007 while ($i<($arg1)) 0008 p (char)(($arg0)[$i++]) 0009 end 0010 end 0011 document printucharstar 0012 Prints the contents of an UChar [] - for KJS. 0013 Usage: 'printucharstar <UChar* dat> <int len>' 0014 end 0015 0016 define printustring 0017 printucharstar ($arg0).rep->dat ($arg0).rep->len 0018 end 0019 document printustring 0020 Prints the contents of an UString - for KJS 0021 Usage: 'printustring <UString str>' 0022 end