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[https://github.com/freechipsproject/rocket-chip].
When I print the text variable, the output text is a bunch of numbers instead of a string.

Correct result [https://github.com/freechipsproject/rocket-chip] shows :
WOVKIDP%60%7BJ4I7RRIW%60~Q65T

Wrong result I get:

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