Bochs常用调试命令

下面是bochs的调试命令:

h|help command - show short command description
-*- Debugger control -*-
    help, 
    q|quit|exit, 
    set, 
    instrument, 
    show, 
    trace, 
    trace-reg,
    trace-mem, 
    u|disasm, 
    ldsym, 
    slist
-*- Execution control -*-
    c|cont|continue, 
    s|step, 
    p|n|next, 
    modebp, 
    vmexitbp
-*- Breakpoint management -*-
    vb|vbreak, 
    lb|lbreak,  #设置一个线性断点
    pb|pbreak|b|break,   #设在物理地址断点
    sb, 
    sba, 
    blist,
    bpe, 
    bpd, 
    d|del|delete,  #删除断点
    watch, 
    unwatch
-*- CPU and memory contents -*-
    x, 
    xp, 
    setpmem, 
    writemem, 
    crc, 
    info,
    r|reg|regs|registers,  # 查看cpu寄存器和寄存器中的内容
    fp|fpu,  #查看fpu的状态
    mmx, #查看 mmx状态
    sse, 
    sreg, 
    dreg, 
    creg, #查看控制寄存器
    page, 
    set, #设在参数
    ptime, 
    print-stack, 
    ?|calc
-*- Working with bochs param tree -*-
    show "param", 
    restore

你可能感兴趣的:(工具使用)