• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
No source file named .... in gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: No source file named .... in gdb
      • From: Jim Ingham <email@hidden>
  • Prev by Date: RE: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
  • Next by Date: Re: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
  • Previous by thread: ResourceManager's resource
  • Next by thread: Re: No source file named .... in gdb
  • Index(es):
    • Date
    • Thread