From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31061 invoked by alias); 27 Sep 2002 20:31:11 -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 31039 invoked from network); 27 Sep 2002 20:31:09 -0000 Received: from unknown (HELO c007.snv.cp.net) (209.228.33.243) by sources.redhat.com with SMTP; 27 Sep 2002 20:31:09 -0000 Received: (cpmta 13803 invoked from network); 27 Sep 2002 13:31:07 -0700 Received: from 65.85.219.162 (HELO intellibot.cc) by smtp.intellibot.cc (209.228.33.243) with SMTP; 27 Sep 2002 13:31:07 -0700 X-Sent: 27 Sep 2002 20:31:07 GMT Date: Fri, 27 Sep 2002 13:31: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: <1020927191540.ZM24378@localhost.localdomain> Message-Id: <0C60448A-D258-11D6-996B-003065E3B32E@intellibot.cc> Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00491.txt.bz2 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? David ======================================================== David Knuth dknuth@intellibot.cc (804) 543-2703