This is the mail archive of the cygwin-developers@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]

gdb: couldn't stat "/soft/src/yaps-0.96/yaps.c": no such file or directory


Hi,

I've some trouble in debugging yaps.exe. gdb always fails with the mentioned
message. The stacktrace is attached.

I've already checked, that all of the directories /, /soft, /soft/src and
/soft/src/yaps-0.96 have the x flags set.

A simple program (using stat) doesn't show any problem:

#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>

int main()
{
        struct stat x;

        if (stat("/soft/src/yaps-0.96/yaps.c", &x))
                printf("errno: %d\n", errno);

        return 0;
}

Here's what mount gives me:

MERLIN:/soft/src/arch % mount
Device              Directory           Type         Flags
g:\archives\programme\unix  /soft/src/arch      user         binmode
f:\cygwin\bin       /usr/bin            user         binmode
f:\cygwin\lib       /usr/lib            user         binmode
e:\projects         /soft/src           user         binmode
\\.\tape0:          /dev/st0            user         textmode
\\.\tape1:          /dev/st1            user         textmode
f:\cygwin           /                   user         binmode
f:\soft             /soft               user         binmode
\\.\a:              /dev/fd0            user         textmode
\\.\b:              /dev/fd1            user         textmode

Does anyone have any idea about my problem?

BTW: Yesterday, I've installed the latest cygwin distribution.

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
couldn't stat "/soft/src/yaps-0.96/yaps.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 $result"
    (object "::.srcwin0.srcwin" method "::SrcWin::goto_func" body line 19)
    invoked from within
"::.srcwin0.srcwin goto_func .srcwin0.srcwin.container.pane3.childsite.con.func calc_cost"
    (in namespace inscope "::SrcWin" script line 1)
    invoked from within
"namespace inscope ::SrcWin {::.srcwin0.srcwin goto_func} .srcwin0.srcwin.container.pane3.childsite.con.func calc_cost"
    ("after" script)errorCode is POSIX ENOENT {no such file or directory}

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