On 05/31/2012 11:28 AM, Tom Frank wrote: > I want to debug the linux kernel code when it is setup in realmode > ,but gdb can not working right for that,its diassemblely code is > wrong, > and the instruction address is computed for protect_mode . > > how can I do? Try "set architecture i8086". -- Pedro Alves