source: SMSSender/.gdbinit @ 376:0d8179eea17f

Last change on this file since 376:0d8179eea17f was 133:6d608207be6b, checked in by Sämy Zehnder <saemy.zehnder@…>, 8 years ago
  • Added project files.
  • Added links to .priv files.
  • Added sub-repo priv.
File size: 443 bytes
Line 
1dir /usr/src/qt4-x11/src/corelib
2dir /usr/src/qt4-x11/src/gui
3dir /usr/src/qt4-x11/src/network
4dir /usr/src/qt4-x11/src/sql
5
6define qprint
7    printf "(QString)0x%x (length=%i): \"",&$arg0,$arg0.d->size
8    set $i=0
9    while $i < $arg0.d->size
10        set $c=$arg0.d->data[$i++]
11        if $c < 32 || $c > 127
12                printf "\\u0x%04x", $c
13        else
14                printf "%c", (char)$c
15        end
16    end
17    printf "\"\n"
18end
Note: See TracBrowser for help on using the repository browser.