gdb giving wierd error
I was checking a program I'm working on with valgrind for memory leaks and apparently it found an invalid memory access and threw a segfault. It wouldn't tell me where it happened (well, it did, but I need more info) so I decided to check it out with gdb. Except now whenever I run gdb and try to "run" the program, I get this error:
Starting program: *name of program*
Cannot exec : No such file or directory.
Program exited with code 0177.
You can't do that without a process to debug.
I can check ANY program with gdb and it gives this same error. When I try to use Anjuta to debug the program it gives similar error messages.
Anyone have any idea what's wrong?
Edit: It works when I login as root, but not as a regular user.
Last edited by BradDaBug; 04-12-2004 at 04:57 PM.
|