The debug result of gdb I get in the example is a bit wrong

(缎带红绸) #1

I try to follow the gdb debugging example in the webpage[].
When I print the text variable, the output text is a bunch of numbers instead of a string.

Correct result [] shows :

Wrong result I get:

(gdb) print wait
$1 = 1
(gdb) print wait=0
$2 = 0
(gdb) print text
$3 = “1734762838”