gdb如何进行清屏

在gdb中没有专门清屏的命令,但是它可以执行shell中的命令进行清屏clear。

(gdb) help shell
Execute the rest of the line as a shell command.
With no arguments, run an inferior shell.
(gdb)shell clear

 

执行shell clear命令就可以进行清屏了。

posted @ 2013-05-16 18:56  robotke1  阅读(1373)  评论(0编辑  收藏  举报