From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20591 invoked by alias); 15 Jun 2008 20:06:37 -0000 Received: (qmail 20580 invoked by uid 22791); 15 Jun 2008 20:06:36 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 15 Jun 2008 20:06:19 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id BB0B73B78D; Sun, 15 Jun 2008 13:06:17 -0700 (PDT) Subject: Re: What do I need to look at the source while debugging? From: Michael Snyder To: Igor Korot Cc: gdb@sourceware.org In-Reply-To: <21100545.1213502551414.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> References: <21100545.1213502551414.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Content-Type: text/plain Date: Sun, 15 Jun 2008 20:06:00 -0000 Message-Id: <1213560377.3601.862.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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: 2008-06/txt/msg00149.txt.bz2 On Sun, 2008-06-15 at 00:02 -0400, Igor Korot wrote: > Hi, > I just tried to use a 'load' command: > > (gdb) load /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/DriverManager/SQLDriverConnectW.c Why? That's not at all what it's for. You never "load" a source file": "load" actually means "download a binary image onto a development board".