From: jeff.hane@maxim-ic.com (Jeff Hane)
To: linux-arm-kernel@lists.infradead.org
Subject: debugging kernel with gdb
Date: Wed, 21 Jul 2010 15:44:21 -0700 [thread overview]
Message-ID: <1279752261.15547.9.camel@qu102.quarc.com> (raw)
In-Reply-To: <AANLkTikfGIBaYnFskW4_TUzfWXBIy9fIqziNcedQwE8M@mail.gmail.com>
Hello,
I'm bringing up a new chip with an ARM1136 and trying to step thru the
code with gdb but because it's been optimized it's not working so well.
The code was being compiled with -O2 and -g. I thought the obvious
thing to do is just change this to -O0 in the top level Makefile;
however this results in the following message.
Error: selected processor does not support `ldrexb
I'm trying to figure out if optimization can't be turned off or if I
have some issue with my toolchain.
thanks,
jeff
next prev parent reply other threads:[~2010-07-21 22:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 19:12 using openocd + gdb to debug linux kernel on arm926ejs f. achkar
2010-05-26 19:41 ` Steve Chen
2010-05-26 19:51 ` f. achkar
2010-05-26 20:11 ` Steve Chen
2010-05-26 20:34 ` f. achkar
2010-07-21 22:44 ` Jeff Hane [this message]
2010-07-22 17:15 ` debugging kernel with gdb Baurzhan Ismagulov
2010-07-23 6:53 ` ikjn
2010-05-26 19:46 ` using openocd + gdb to debug linux kernel on arm926ejs Kees Jongenburger
2010-05-26 20:25 ` f. achkar
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=1279752261.15547.9.camel@qu102.quarc.com \
--to=jeff.hane@maxim-ic.com \
--cc=linux-arm-kernel@lists.infradead.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).