From: Zhihua Che <zhihua.che@gmail.com>
To: 李健 <gdbhelper@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: how can gdb debug realmode programme? Is there some patches?
Date: Mon, 28 May 2012 15:54:00 -0000 [thread overview]
Message-ID: <CABexPfFzRt1ara5+ATCYd1_XJsZj=73nMXxNFOV-n8Z1+jD94g@mail.gmail.com> (raw)
In-Reply-To: <CAMHBcgraR-QxYrAtNapTms4vhNOCWttG9YhGQXpRhpian9dNXw@mail.gmail.com>
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.
prev parent reply other threads:[~2012-05-28 15:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 0:41 李健
2012-05-28 15:54 ` Zhihua Che [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABexPfFzRt1ara5+ATCYd1_XJsZj=73nMXxNFOV-n8Z1+jD94g@mail.gmail.com' \
--to=zhihua.che@gmail.com \
--cc=gdb@sourceware.org \
--cc=gdbhelper@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).