Re: Expanding "this" kills my application
Re: Expanding "this" kills my application
- Subject: Re: Expanding "this" kills my application
- From: Ethan Tira-Thompson <email@hidden>
- Date: Fri, 14 Dec 2007 12:06:50 -0500
On 08/12/2007, at 9:31 PM, Laurence Harris wrote:
Macintosh:~ Larry$ sudo gdb /usr/libexec/gdb/gdb-i386-apple-darwin
...
Password:
sudo: gdb: command not found
Well, that's a little weird...
There's a couple followups about gdb in /Developer/usr/bin, but I have
an additional copy in regular /usr/bin:
$ ls -l /usr/bin/gdb /usr/libexec/gdb/gdb-i386-apple-darwin /Developer/
usr/bin/gdb /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
-rwxr-xr-x 1 root wheel 4867 Oct 2 00:19 /Developer/usr/bin/gdb
-rwxr-sr-x 1 root procmod 6073712 Oct 2 00:19 /Developer/usr/
libexec/gdb/gdb-i386-apple-darwin
-rwxr-xr-x 1 root wheel 4867 Oct 2 00:19 /usr/bin/gdb
-rwxr-sr-x 1 root procmod 6073712 Oct 2 00:19 /usr/libexec/gdb/gdb-
i386-apple-darwin
I'm guessing this is also the case for Jim Ingham who suggested the
command... so it might be a good question why it's not true for
Laurence... might be a broken install? /usr got deleted on his system
or something? Or do I (we) have an extra unintentional copy in /usr
that's going to be ignored by future updates and eventually go out of
date and bite me later? :)
Also, I was going to say 'sudo' isn't necessary, but apparently it is
in the specific case of attaching gdb to gdb. Cute trick, I would've
seen the error it gives without 'sudo' and just thought it's something
that can't be done. (that would suck for the gdb developers! ;)
-ethan
_______________________________________________
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