This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb problem


Purposed changes to the winsup/cygwin/path.cc source have caused a defect in
the tk portion of gdb.  You can see the source by using the non-windowed
version.

Regards,
Earnie.
--- "Tom M. Yeh" <tomyeh@infoshock.com> wrote:
> 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@sourceware.cygnus.com
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]