V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wzzzx
V2EX  ›  问与答

调试 XV6 内核时,为什么断点打在_entry(0x8000000)处,但是运行时却停在 0x8000000a 处?

  •  
  •   wzzzx · Apr 13, 2021 · 996 views
    This topic created in 1852 days ago, the information mentioned may be changed or developed.

    https://mit-public-courses-cn-translatio.gitbook.io/mit6-s081/lec03-os-organization-and-system-calls/3.9

    参照这个文档里的步骤操作时,确实是停在了 0x8000000a,这是为什么?

    还有为什么 GDB 刚连上的时候,是停在 0x0000000000001000 处?预留了前面的位置给了 IO 设备?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 19:45 · PVG 03:45 · LAX 12:45 · JFK 15:45
    ♥ Do have faith in what you're doing.