This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]