1 # This file defines handy gdb macros
2 # To use it, add this line to your ~/.gdbinit :
3 # source /path/to/kde/sources/kdelibs/kjs/kjs-devel-gdb
8 p (char)(($arg0)[$i++])
11 document printucharstar
12 Prints the contents of an UChar [] - for KJS.
13 Usage: 'printucharstar <UChar* dat> <int len>'
17 printucharstar ($arg0).rep->dat ($arg0).rep->len
20 Prints the contents of an UString - for KJS
21 Usage: 'printustring <UString str>'