Bochs 2.6.8 Common Command Collection

Source: Internet
Author: User

B Addr Set breakpoint at physical address addr as physical memory address, without adding segment base

LB sets a breakpoint at a linear address addr a linear physical address, without base addresses

VB set breakpoint on virtual address addr to segment base: Offset Address, CS segment

C Continue execution know Breakpoint encountered

N stepping through subroutine and int interrupt program

S single Step execution

s num (s instruction plus a number) executes n steps

DUMP_CPU View register information (This command does not seem to be practical ...) )

X/nuf addr Displays data for a specified memory address, addr can be a linear memory address, or it can be a base address for a virtual address: offset or base register: offset

n the length of the displayed data

U data unit size b,h,w,g corresponds to 1,2,4,8 byte respectively

F Data Display format x,d,u,o,t,c 16 binary, decimal, unsigned decimal, octal, binary, string

u [/count] start end disassemble a piece of linear memory (acting as above)

(The count parameter indicates the number of instruction strips to be disassembled, example: U/5--disassembly of 5 instructions starting at the current address)

Info Command Group

Info B shows the current breakpoint state information

Info dirty show dirty pages in physical memory since last display (page written)

Info program shows the execution status of the application (not available!) )

Info r|reg|rigisters Display Register contents

Info CPU Display CPU Register contents

Info FPU shows the status of the FPU register

Info IDT Display Interrupt Description table

Info ivt display interrupt vector table (invalid in protected mode)

Info GDT display Global Description table

Info TSS shows the current task status segment

Info CR Display CR0-CR4 Register status (not available)

Info flags Display flag register (not available)

Register Query

R View General-purpose registers

Sreg viewing segment registers (Es,cs,gs,ss,fs,ds and IDT,GDT,LDT,TR)

Creg Viewing the control register (CR0,CR1,CR2,CR3)

Dreg Viewing the Debug register (DR0-DR7)

Bochs 2.6.8 Common Command Collection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.