Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Tom M. Yeh" To: "Cygwin" Subject: gdb problem Date: Fri, 2 Jun 2000 20:50:23 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal I installed the latest version of Cygwin (5/15/00). When I used gdb to debug a program, gdb popped up a dialog saying it cannot open the source file. What happens? The problem is still there even I compiled a program as simple as "hello world". Regards, Tom Here is the stack trace. ---------------------------------------------- couldn't stat "/home/tomyeh/myprj/nolib/main.c": no such file or directory while executing "file mtime $f" (object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::_mtime_changed" body line 7) invoked from within "_mtime_changed $filename" (object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::FillSource" body line 10) invoked from within "FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib" ("SOURCE" arm line 2) invoked from within "switch $current(mode) { SOURCE { FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib } ASSEMBLY { FillAssembly..." (object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::location" body line 26) invoked from within "$twin location $tag $name $funcname $line $addr $pc_addr $lib" (object "::.srcwin0.srcwin" method "::SrcWin::location" body line 52) invoked from within "location BROWSE_TAG [list $val "" $full 0 0 0 {}]" (object "::.srcwin0.srcwin" method "::SrcWin::_name" body line 22) invoked from within "::.srcwin0.srcwin _name .srcwin0.srcwin.container.pane3.childsite.con.name main.c" (in namespace inscope "::SrcWin" script line 1) invoked from within "namespace inscope ::SrcWin {::.srcwin0.srcwin _name} .srcwin0.srcwin.container.pane3.childsite.con.name main.c" ("after" script)errorCode is POSIX ENOENT {no such file or directory} -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com