From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31614 invoked by alias); 27 Sep 2002 21:56:55 -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 31607 invoked from network); 27 Sep 2002 21:56:55 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 27 Sep 2002 21:56:55 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8RLcci16122 for ; Fri, 27 Sep 2002 17:38:38 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8RLusf13930; Fri, 27 Sep 2002 17:56:54 -0400 Received: from localhost.localdomain (vpn50-37.rdu.redhat.com [172.16.50.37]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8RLurJ15452; Fri, 27 Sep 2002 17:56:53 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id g8RLuls25257; Fri, 27 Sep 2002 14:56:47 -0700 Date: Fri, 27 Sep 2002 14:56:00 -0000 From: Kevin Buettner Message-Id: <1020927215647.ZM25256@localhost.localdomain> In-Reply-To: David Knuth "Re: gdb is breaking at wrong locations" (Sep 27, 4:31pm) References: <0C60448A-D258-11D6-996B-003065E3B32E@intellibot.cc> To: David Knuth , Kevin Buettner Subject: Re: gdb is breaking at wrong locations Cc: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00493.txt.bz2 On Sep 27, 4:31pm, David Knuth wrote: > On Friday, September 27, 2002, at 03:15 PM, Kevin Buettner wrote: > > > It sounds to me like you have a mismatch between the executable that > > you're running on the target and the symbol file that you're loading > > into gdb. > > I suspected this also, but I have only one set of sources, did a clean > build, and had gdb load the ROM image. Incidentally, this is how I do > it. If there is a better way, please enlighten me. (I'm doing this > from memory, so the exact wording might be off.) > > > sudo modprobe bdm > > cd src > >m68k-unknown-coff-gdb > $file ../bin/rom > $target bdm /dev/icd_bdm0 > $r > Download source from src/../bin/rom? (y or n) [y] y > > So, from the above, I don't know how the symbol file and executable > could be mismatched because they are the same file, right? That looks reasonable. Has it *ever* worked correctly in the past? Kevin