From: Daniel Jacobowitz <drow@false.org>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Tracing into area without source
Date: Sun, 15 Nov 2009 19:13:00 -0000 [thread overview]
Message-ID: <20091115173823.GA25823@caradoc.them.org> (raw)
In-Reply-To: <9e4733910911150928u463b4096y4eb0998e026d8b07@mail.gmail.com>
On Sun, Nov 15, 2009 at 12:28:58PM -0500, Jon Smirl wrote:
> Setup is qemu emulating an ARM7TDMI running on my x86. The ARM cpu
> has a ROM starting at zero which I don't have the source for. I've
> made a copy of the ROM and inserted it into qemu. I can dump and
> disassemble it without problem.
>
> RAM is at 0x400000. I can load and run my app there using gdb.
> But when the app jumps into the ROM gdb refuses to follow.
GDB does not care if there is source or not.
It looks more like you're having some trouble with debugging
interrupts, since you've ended up back at the same address:
> (gdb) stepi
> 0x000108d0 in ?? ()
> (gdb) stepi
> ^C
> Program received signal SIGINT, Interrupt.
> 0x000108d0 in ?? ()
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2009-11-15 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-15 19:04 Jon Smirl
2009-11-15 19:13 ` Daniel Jacobowitz [this message]
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=20091115173823.GA25823@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=jonsmirl@gmail.com \
/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