From: "SEEMA pm" <seema.pm@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: kgdb issues for ppc target
Date: Wed, 18 Jun 2008 14:27:09 -0700 [thread overview]
Message-ID: <4e69a5150806181427r5acc8905u16c046492df7243c@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
Hello,
I have an mpc8540 target board with a BSP - linux-2.6.11. I have a host
machine where I have ppc-target configured gdb obtained from gdb-6.8.tar.gz.
I am able to debug userspace files by running gdbserver in target machine.
Now I want to debug kernel files of my target machine. I have
CONFIG_DEBUG_KERNEL=y, CONFIG_DEBUG_INFO=y and CONFIG_SERIAL_TEXT_DEBUG=y.
I want to debug kernel remotely after it's loaded in the target machine as I
do with userspace files. In the host machine when i run: gdb ./uImage, I get
not in executable format - error.
I have downloaded kernel patches : linux-2.6.13-kgdb-2.3 and applied
core-lite.patch,ppc-lite.patch and eth.patch, got lot of hunks and failed
messages. After this when I build uImage I am getting lot of build errors.
It would be really helpful if I can get the list of exact patches needed so
I can make the changes manually as mine is a modified 2.6.11 kernel. Also, I
need steps of how to run it in the target machine through ethernet port.
Thanks
[-- Attachment #2: Type: text/html, Size: 1061 bytes --]
reply other threads:[~2008-06-18 21:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4e69a5150806181427r5acc8905u16c046492df7243c@mail.gmail.com \
--to=seema.pm@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/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 NNTP newsgroup(s).