一个新东西:GDBTUI

最近使用中大bbs的linux版发现了一个好玩的东西,叫做GDBTUI
搜了一下有以下有用的:
先放这儿吧。回学校再试试。。

==[使用GDB文本界面]======================================================
gdb Text User Interface(TUI) GDB 文本用户界面
(1) 打开TUI模式
    方法一: 使用‘gdbtui’ or ‘gdb-tui’开始一个调试
    $ gdbtui -q sample
    (gdb) ....

    方法二: 使用切换键 `ctrl+x ctrl+a` or `ctrl+x A`
(2) TUI模式下有4个窗口,
        command      命令窗口. 可以键入调试命令
        source       源代码窗口. 显示当前行,断点等信息
        assembly     汇编代码窗口
        register     寄存器窗口
    除command 窗口外,其他三个窗口不可同时显示.其可用 layout 命令来进行选择
    自己需要的窗口. 可参见 `help layout` .
(3) 设置TUI
    set tui border-kind kind
    Select the border appearance for the source, assembly and register windows.
    The possible values are the following:
    space:      Use a space character to draw the border.
    ascii:      Use ascii characters ‘+’, ‘-’ and ‘|’ to draw the border.
                acs Use the Alternate Character Set to draw the border. The
                border is
    drawn:      using character line graphics if the terminal supports them.
(4) 更详尽的说明
    http://sourceware.org/gdb/current/onlinedocs/gdb_23.html#SEC235.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值