From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5886 invoked by alias); 15 Nov 2009 17:39:32 -0000 Received: (qmail 5875 invoked by uid 22791); 15 Nov 2009 17:39:30 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 15 Nov 2009 17:38:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 092C010E9F; Sun, 15 Nov 2009 17:38:24 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id E783E1086E; Sun, 15 Nov 2009 17:38:23 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1N9j3P-0006jm-H0; Sun, 15 Nov 2009 12:38:23 -0500 Date: Sun, 15 Nov 2009 19:13:00 -0000 From: Daniel Jacobowitz To: Jon Smirl Cc: gdb@sourceware.org Subject: Re: Tracing into area without source Message-ID: <20091115173823.GA25823@caradoc.them.org> Mail-Followup-To: Jon Smirl , gdb@sourceware.org References: <9e4733910911150928u463b4096y4eb0998e026d8b07@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e4733910911150928u463b4096y4eb0998e026d8b07@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00147.txt.bz2 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