summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/gdbmacros.txt
blob: cc8a9a6c1d1cd6cba0850218c284dcc3618ad2df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define qdumpqstring
set $i = 0
set $l = $arg0->d->size
set $p = $arg0->d->data
while $i < $l
printf "%d ",$p[$i++]
end
printf "\n"
end

define qdumpqstringlist
set $i = $arg0->d->begin
set $e = $arg0->d->end
while $i < $e
printf "%d ",$arg0->d->array + $i++
end
printf "\n"
end