the disassembly code by gdb is wrong,what is the reason?

Pedro Alves palves@redhat.com
Thu May 31 10:43:00 GMT 2012


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



More information about the Gdb mailing list