[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can't open process file
From: |
Bill Jones |
Subject: |
can't open process file |
Date: |
Tue, 27 Feb 2001 11:56:41 -0800 |
I'm trying to use the gdb packaged with the Intel distribution of
Solaris 8
from Sun. I'm able to start gdb, browse target source and set
breakpoints,
but gdb runs amok trying to run the debug target -- see messages
below.
To rule out a real permissions problem, I tried the test su'd to root.
In that
case, rather than the "Permission denied" error on ctl, I got an error
complaining
about an unsupported ioctl() operation. If there's anything on this
problem in
the documentation, I sure couldn't find it.
Any help would be appreciated.
Thanks.
START GDB session transcript:
<gdb startup banner deleted>
This GDB was configured as "i386-pc-solaris2.8"...
(gdb) list main
60
61 main(argc,argv)
62 int argc;
63 char *argv[];
64
65 {
66 int i;
67
68 if (init_printer()) exit(-1);
69
(gdb) break 68
Breakpoint 1 at 0x80511d6: file xmain.c, line 68.
(gdb) run
Starting program: /export/home/piute/tmp/csxref/csxref
/proc/9883/ctl: Permission denied
/proc/9883/status: No such file or directory.
can't open process file
END GDB session transcript
--
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* Bill Jones --+-- Piute Mountain Software Development *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- can't open process file,
Bill Jones <=