No source file named .... in gdb
No source file named .... in gdb
- Subject: No source file named .... in gdb
- From: Norio Ota <email@hidden>
- Date: Wed, 1 Dec 2004 00:10:53 +0900
Hi,
I'm sorry but I don't know a suitable mailing list of this problem.
Now I just feel like I'm into gdb, thanks to all of you. But I quite
often face to a troublesome problem.
When I set break point to file, gdb can't find out the file. In spite
of that I used 'cd' or 'directory' commands in gdb to set the directory
in which the file located, but it didn't work.
I backed to shell and tried using shell command 'cd', but the result
was the same.
I have always checked the working directory using 'pwd' in gdb, it
tells me the correct directory.
What I did and gdb's responses are the following:
(gdb) cd "/Volumes/Development\ disk/MyApp\ source\ folder/"
Working directory /Volumes/Development disk/MyApp source folder/
(gdb) dir "/Volumes/Development disk/MyApp source folder/"
Source directories searched: /Volumes/Development disk/MyApp source
folder/:$cdir:$cwd
(gdb) shell cd "/Volumes/Development disk/MyApp source folder/"
(gdb) break UStaticText.cpp :384
No source file named UStaticText.cpp.
(gdb) pwd
Working directory /Volumes/Development disk/MyApp source folder/
Then I tried doing 'shell ls' command in gdb, I could see the file in
the list.
Would you tell me what I'm missing?
Thank you,
Norio Ota
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden