This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
gdb problem
- To: "Cygwin" <cygwin at sourceware dot cygnus dot com>
- Subject: gdb problem
- From: "Tom M. Yeh" <tomyeh at infoshock dot com>
- Date: Fri, 2 Jun 2000 20:50:23 +0800
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