mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Xu Yang" <risingsunxy@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: how to add debug information into the vmlinux
Date: Fri, 17 Aug 2007 22:49:21 +0200	[thread overview]
Message-ID: <ab40e9c0708171349n73e35f58p5f5c092b54ddeb45@mail.gmail.com> (raw)

Hello everyone,

I am trying to port kernel 2.6.19 onto my system.so I need the c code
, which can show me where the program is running. I add -g when I
compile it.

after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy
--change-addresses 0x40000000 to change the start address.

it seems that the debug information is strange. expecially after the
mmu is turned on , it totally disappreared.

anyone knows how to handle this?

thanks in advance.

regards,

yang

             reply	other threads:[~2007-08-17 20:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 20:49 Xu Yang [this message]
2007-08-17 21:30 ` Jesper Juhl
2007-08-18 19:49   ` Xu Yang
2007-08-18 19:54     ` Jan Engelhardt
2007-08-18 20:01       ` Xu Yang
2007-08-18 21:10         ` Jan Engelhardt

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=ab40e9c0708171349n73e35f58p5f5c092b54ddeb45@mail.gmail.com \
    --to=risingsunxy@googlemail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®