Skip to content

Latest commit

 

History

History
8 lines (4 loc) · 301 Bytes

lab0_2_4_4_6_set_debug_arch.md

File metadata and controls

8 lines (4 loc) · 301 Bytes
设定调试目标架构

在调试的时候,我们也许需要调试不是i386保护模式的代码,比如8086实模式的代码,我们需要设定当前使用的架构:

(gdb) set arch i8086

这个方法在调试不同架构或者说不同模式的代码时还是有点用处的。