From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31667 invoked by alias); 14 Jul 2004 12:22:14 -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 31354 invoked from network); 14 Jul 2004 12:21:49 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 14 Jul 2004 12:21:49 -0000 Received: from monika (localhost.acmet.com [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i6ECArr30277; Wed, 14 Jul 2004 17:40:53 +0530 From: "Monika Chaddha" To: "'murugesan'" Cc: Subject: RE: (gdb) list Can't find a default source file Date: Wed, 14 Jul 2004 15:04:00 -0000 Message-ID: <00ab01c4699a$8f13b510$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <0c5001c46995$7a075140$2b0110ac@munco> X-SW-Source: 2004-07/txt/msg00134.txt.bz2 Can u send u your sample test case in which u are facing problem? It seems that gdb is searching file on some other path, pls try ddd as gui , it will show msg like file does not found with path . May be it can help u... Regards Monika >-----Original Message----- >From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] On >Behalf Of murugesan >Sent: Wednesday, July 14, 2004 4:55 PM >To: gdb@sources.redhat.com >Subject: (gdb) list Can't find a default source file > >Hello all, > I am using HP-UX 11.23 PA-RISC > ( wdb 4.5 ) > when I execute > #gdb sample-client > (gdb) b main >Breakpoint 1 at 0x4000000000004680 >(gdb) n >Single stepping until exit from function main, >which has no line number information. >0x4000000000004720 in main+0xb8 () >(gdb) list >Can't find a default source file > > >I have compiled the program sample-client.c with -g option . >The source file and the object file are in the current directory > >How can I resolve this issue ? > > >Thanks in advance, >Murugesan