From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5884 invoked by alias); 26 Aug 2004 20:57:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5876 invoked from network); 26 Aug 2004 20:57:19 -0000 Received: from unknown (HELO intrig.com) (66.160.152.62) by sourceware.org with SMTP; 26 Aug 2004 20:57:19 -0000 Received: from mail.intrig.com ([66.169.138.168]) by intrig.com for ; Thu, 26 Aug 2004 13:57:12 -0700 Received: by mail.intrig.com (sSMTP sendmail emulation); Thu, 26 Aug 2004 15:57:15 -0500 Date: Thu, 26 Aug 2004 20:57:00 -0000 From: Mark Beckwith To: gdb@sources.redhat.com Subject: bdi2000 and gdb (newbie question) Message-ID: <20040826205715.GF6632@john.intrig.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-08/txt/msg00398.txt.bz2 I've got a bdi2000 and Cogent csb337 running the micromonitor boot loader. I've been able to compile and download the umon to the csb337 successfully using the bdi2000 and jtag interface. However, I can't seem to step through the code. I After loading the CSB337_tst.elf file into ram, from the host I run: prompt> gdb CSB337_tst.elf (gdb) target remote 192.168.100.44:2001 Remote debugging using 192.168.100.44:2001 0x00000000 in ?? () // Ok, then I try to step: (gdb) step Cannot find bounds of current function // I can set breakpoints: (gdb) b main Breakpoint 1 at 0x2011beac: file main.c, line 45. (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x63655220 in ?? () (gdb) step Cannot find bounds of current function I hope you can see something obvious that I'm doing wrong, and point me in the right direction. Thanks, Mark -- Mark Beckwith, Intrig (http://www.intrig.com)