Solaris 2.4 and gdb 4.14

Solaris 2.4 and gdb 4.14

Post by Allen M. Coh » Thu, 25 May 1995 04:00:00



I can't get gdb 4.14 working under Solaris 2.4.
When I do "next", it jump to end of main.
We're using both acc 3.0.1 and gcc 2.6.3, and gdb has same problems.
Is "ld" the problem or is it gdb or what?
--
Allen M. Cohen -- GTE Govt Sys 31717 LaTienda Dr Westlake Village, Ca. 91359
Voice: (818) 706-6869; FAX: (818) 706-5050
     Ask me a riddle and I reply \ Cottleston, Cottleston, Cottleston Pie.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 
 
 

Solaris 2.4 and gdb 4.14

Post by Allen M. Coh » Sat, 27 May 1995 04:00:00


Has anybody got gdb working with acc 3.0.1 (-g only, no Optimization) for
SunOS 5.4/Solaris???

--
Allen M. Cohen -- GTE Govt Sys 31717 LaTienda Dr Westlake Village, Ca. 91359
Voice: (818) 706-6869; FAX: (818) 706-5050
     Ask me a riddle and I reply \ Cottleston, Cottleston, Cottleston Pie.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

 
 
 

1. gdb 4.14 problem under x86 2.4

Hi

I have compiled the gdb 4.14 with gcc 2.6.3 and it works very well if you
are running it as root. If you are running it as non-superuser the gdb has
problems to open the child processes procfs image, or if it succeeds in
opening that file, it crashes when doing the first ioctl after the open.
When crashing in the open() errno is set to EACCESS despite the fact that
a stat reports the file permissions to 100600 and the owner to that one
running the gdb. If the open() succeedes, the ioctl (.., PIOCSTRACE, sigset)
returns EBUSY wich is not mentioned in the procfs(2) manpage for the
PIOCSTRACE iocontrol and perror says "Resource temporaryly unavailable".
The gdb is configured as an i386-unknown-solaris2.4.

Any suggestions?
--
                                Max Bluecher

 Der aus leibeskraeften schreiende Neger kam Sondermann wie ein Alptraum vor...

2. Problems with mmdf and uucp in remote sites

3. gdb 4.14 on Solaris 2.3

4. Flash Card Boot?

5. Has anyone compiled an ELF binary of gdb 4.13/4.14 ?

6. Help, cannot ping local using ip address

7. Compile error - gdb 4.14

8. VFS boot error after recompile

9. A new ELF core dump patch for gdb 4.14

10. WordPerfect 6.0/Solaris on AIX 4.14

11. Does gdb 4.16 work with Solaris 2.4 unix threads?

12. gdb under SOLARIS 2.4

13. gdb for solaris 2.4