gdb under SOLARIS 2.4

gdb under SOLARIS 2.4

Post by Carsten Trinit » Thu, 26 Jan 1995 00:07:00



Hi,
I'm currently trying to build gdb under SOLARIS2.4.
Configure builds a Makefile that seems to be set up for
SOLARIS, however, I get the following when trying to
compile:

gcc -c -g   -I. -I. -I./../include  elf32.c
In file included from /usr/include/sys/turnstile.h:11, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/file.h:13, from hosts/sysv4.h:13, from sysdep.h:3, from elfcode.h:68, from elf32.c:23:
/usr/include/sys/param.h:122: warning: `NULL' redefined
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.3.3/include/stddef.h:187: warning: this is the location of the previous definition
In file included from elfcode.h:3285, from elf32.c:23:
/usr/include/sys/procfs.h:195: parse error before `sigset_t'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Although signal.h is included in sys/procfs.h

Do I have to set some more environment varables?
Configure should have done this I guess?

Any ideas?
  Thanks in advance
    Carsten

--
######################################################
# Carsten Trinitis                                   #
# Lehrstuhl fuer Hochspannungs- und Anlagentechnik   #
# Technical University of Munich                     #
# Bldg. N2, Arcisstr. 21                             #
# D-80290 Muenchen, WEST Germany                     #
# Ph. +49/89/2105-2787                               #
# FAX: +49-89-281875                                 #

######################################################

 
 
 

gdb under SOLARIS 2.4

Post by Casper H.S. D » Thu, 26 Jan 1995 19:26:25



>I'm currently trying to build gdb under SOLARIS2.4.
>Configure builds a Makefile that seems to be set up for
>SOLARIS, however, I get the following when trying to
>compile:
>In file included from elfcode.h:3285, from elf32.c:23:
>/usr/include/sys/procfs.h:195: parse error before `sigset_t'
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to re-run fixincludes when you upgrade your OS.

Casper

 
 
 

1. gdb for solaris 2.4

Hi,

I was trying to use GDB 4.13 to debug the executables produced by the
SPARCworks compiler. It turned out that GDB wasn't able to recognize the
format. Does anyone know of any patch of GDB that solves the problem? Any
information is appreciated.

Thanks,

Larry

2. *** PLEASE READ THIS BEFORE POSTING *** (help-2.09)

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

4. Raw devices: looking for help

5. gdb on x86 running Solaris 2.4

6. Solaris system 7 and gnome-libs

7. Using gdb for SC4.0 c++ on Solaris 2.3/2.4

8. pd-ksh 4.2 patches

9. Solaris 2.4 and gdb 4.14

10. Wu-ftpd 2.4 under Solaris 2.4

11. gdb on 2.2/2.4

12. linux 2.4-test kernel on PPC bugs: breaks gdb 5.0, also fbcon

13. gdb stopped working in 2.5.10 - works fine in 2.4.x