From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4599 invoked by alias); 27 Sep 2007 12:06:29 -0000 Received: (qmail 4590 invoked by uid 22791); 27 Sep 2007 12:06:28 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Sep 2007 12:06:25 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1057D9832A; Thu, 27 Sep 2007 12:06:23 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D29E69829E; Thu, 27 Sep 2007 12:06:20 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Ias8I-0007Cd-UV; Thu, 27 Sep 2007 08:06:19 -0400 Date: Thu, 27 Sep 2007 12:07:00 -0000 From: Daniel Jacobowitz To: xchen Cc: gdb@sourceware.org Subject: Re: gdb search wrong source file Message-ID: <20070927120618.GA27672@caradoc.them.org> Mail-Followup-To: xchen , gdb@sourceware.org References: <20070927082957.51BBB9829E@nan.false.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070927082957.51BBB9829E@nan.false.org> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00227.txt.bz2 On Thu, Sep 27, 2007 at 04:29:09PM +0800, xchen wrote: > Hi, > > I use gdbserver run on my board. The problem is that gdb search wrong > source file.Blowed is my snapshot. > > Breakpoint 1, 0x1000a5cc in main () > (gdb) list > 1 in ../sysdeps/powerpc/powerpc32/elf/start.S You do not have debugging information for main. Your program was either compiled without debug info, or stripped. -- Daniel Jacobowitz CodeSourcery