From: Dmitry Smirnov <divis1969@mail.ru>
To: gdb@sourceware.org
Subject: Re: THUMB code detection for ADS 1.2 ELF emages
Date: Fri, 20 Jun 2008 11:25:00 -0000 [thread overview]
Message-ID: <E1K9ejf-000MCz-00.divis1969-mail-ru@f178.mail.ru> (raw)
Hi Stan, Dan,
Thanks for pointing this new feature. I hope it will helps me.
P.S. What do you mean by "toolchain is not marking the executable correctly"? I suppose that ADS produce the ELF that is not compartible with latest ARM ELF specs. At least, it specifies ELF as an 0x2000000 version, whereas GDB recognizes 0x4000000+.
I believe executable is correct. It mixes ARM and THUMB code. It runs on a real hardware, I can debug it with TRACE32 using this ELF. I'm trying to run this ELF on skyeye (and it runs!), but cannot debug it "in full-power" with GDB.
Stan Shebs wrote:
>Dan Jacobowitz added this bit of machinery recently; see
>http://sourceware.org/ml/gdb-patches/2008-05/msg00113.html . He points
>out that this should be a rare case, only needed if Arm and Thumb code
>are mixed within a single file; so if your GDB is having trouble
>detecting Thumb code, maybe there is some other problem, perhaps the
>toolchain is not marking the executable correctly?
>
>Stan
next reply other threads:[~2008-06-20 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 11:25 Dmitry Smirnov [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-20 8:09 Dmitry Smirnov
2008-06-20 10:36 ` Daniel Jacobowitz
2008-06-20 10:48 ` Stan Shebs
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=E1K9ejf-000MCz-00.divis1969-mail-ru@f178.mail.ru \
--to=divis1969@mail.ru \
--cc=gdb@sourceware.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