All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to debug u-boot?
Date: Fri, 6 Jun 2008 08:07:22 +0200	[thread overview]
Message-ID: <20080606060722.GA9830@mail.gnudd.com> (raw)
In-Reply-To: <200806060213.m562DaPR002810@mail.corelis.com>


> I need help with debugging u-boot. If I comple u-Boot without -Os 
> optimization, I get bunch of errors about missing functions.

gcc docs say:
   GCC does not inline any functions when not optimizing unless you
   specify the `always_inline' attribute for the function, like this:
   [...]

I'm sorry you can't strip the "-Os", and you should debug the final
binary, despite all the reordering that takes place.

/alessandro

  reply	other threads:[~2008-06-06  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06  2:13 [U-Boot-Users] How to debug u-boot? Brian S. Park
2008-06-06  6:07 ` Alessandro Rubini [this message]
2008-06-06 16:34 ` Brian S. Park
2008-06-09  9:53 ` Detlev Zundel
  -- strict thread matches above, loose matches on Subject: below --
2003-05-13  4:33 huasee

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=20080606060722.GA9830@mail.gnudd.com \
    --to=rubini-list@gnudd.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.