假設我們有一個客製的struct 或是class,例如Qt4 的QString,如果我們用原本gdb 的print 去印出QString的話:. QString s("Hello World"); (gdb) p s
確定! 回上一頁