how can gdb debug realmode programme? Is there some patches?

Zhihua Che zhihua.che@gmail.com
Mon May 28 15:54:00 GMT 2012


2012/5/28 李健 <gdbhelper@gmail.com>:
> 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?
>
> thank you!

As far as I know, gdb can't work well with real mode. I also tried to
debug real mode code using gdb.



More information about the Gdb mailing list