From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21179 invoked by alias); 2 Oct 2002 14:39:47 -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 21158 invoked from network); 2 Oct 2002 14:39:46 -0000 Received: from unknown (HELO c007.snv.cp.net) (209.228.33.240) by sources.redhat.com with SMTP; 2 Oct 2002 14:39:46 -0000 Received: (cpmta 17264 invoked from network); 2 Oct 2002 07:39:44 -0700 Received: from 65.85.219.162 (HELO intellibot.cc) by smtp.intellibot.cc (209.228.33.240) with SMTP; 2 Oct 2002 07:39:44 -0700 X-Sent: 2 Oct 2002 14:39:44 GMT Date: Wed, 02 Oct 2002 07:39:00 -0000 Subject: Re: gdb is breaking at wrong locations Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: gdb@sources.redhat.com To: Kevin Buettner From: David Knuth In-Reply-To: <1020927215647.ZM25256@localhost.localdomain> Message-Id: Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00023.txt.bz2 On Friday, September 27, 2002, at 05:56 PM, Kevin Buettner wrote: >> 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? I don't know. I inherited the system from engineers who are gone. So, guess my next question is, does it make sense to go to a newer version of GDB to try and fix this and if I do this, will I also have to upgrade the gcc cross toolchain? David ======================================================== David Knuth dknuth@intellibot.cc (804) 543-2703