This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

recent procfs changes break UW7


I just pulled a cvs update and tried to spin a build on
i686-UnixWare7.1.1-sysv5.   This target worked a few weeks ago but
has now fallen victim to recent changes in the name of progress.

2000-01-07  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * uw-thread.c: New file to support UnixWare user-mode threads:
        contributed by Nickolas Duffek  <nsd@cygnus.com>.

This is a lovely idea. Unfortunately, uw-thread.c isn't in the CVS
repository and I don't see it in the list archives.

It's not clear to me if NEW_PROC_API is meant to be on yet or not for
this target.  I suspect this is the root of the problem.

procfs fails to compile:

UX:acomp: ERROR: "/play/gdb/gdb/procfs.c", line 262: syntax error, probably missing ",", ";" or "="
UX:acomp: WARNING: "/play/gdb/gdb/procfs.c", line 262: "typedef" valid only for function declaration
UX:acomp: ERROR: "/play/gdb/gdb/procfs.c", line 262: Syntax error before or at: gdb_prstatus_t
UX:acomp: WARNING: "/play/gdb/gdb/procfs.c", line 262: declaration missing specifiers: assuming "int"
UX:acomp: ERROR: "/play/gdb/gdb/procfs.c", line 263: syntax error, probably missing ",", ";" or "="

This code is typedeffing gdb_*status_t in terms of a prstatus_t, yet
there is no such definition in <sys/procfs.h>.

proc_api.c fails to compile because essentially none of these are
defined in the system headers.

Excerpt of output:

UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 69: undefined symbol: PIOCACTION
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 69: non-constant initializer: op "NAME"
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 77: undefined symbol: PIOCCFAULT
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 77: non-constant initializer: op "NAME"
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 78: undefined symbol: PIOCCRED
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 78: non-constant initializer: op "NAME"
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 88: undefined symbol: PIOCGENTRY
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 88: non-constant initializer: op "NAME"
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 89: undefined symbol: PIOCGETPR
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 89: non-constant initializer: op "NAME"
UX:acomp: ERROR: "/play/gdb/gdb/proc_api.c", line 90: undefined symbol: PIOCGETU

a


Michael, do you have ready access to a UW system?   If not, I can help
track these things down.

Thanx,
RJL

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]