引用https://blog.csdn.net/unix21/article/details/9991925
(gdb) set print pretty on
示例如下:
(gdb) set print pretty on
(gdb) p *plat $7 = { opensbi_version = 5, platform_version = 1, name = "QEMU Virt Machine", ‘
引用https://blog.csdn.net/unix21/article/details/9991925
(gdb) set print pretty on
示例如下:
(gdb) set print pretty on
(gdb) p *plat $7 = { opensbi_version = 5, platform_version = 1, name = "QEMU Virt Machine", ‘