🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10134

GDB 3.5 on Convex C220 has two trivial compilation errors

#10134
From: ngo%tammy
Date: Wed, 06 Jun 1990 04:55
49 lines
1825 bytes
Version:  GDB 3.5 from prep.ai.mit.edu
Machine:  Convex C220 running Convex Unix 7.1

The file convex-dep.c requires the following two trivial patches in
order to compile.  I am suspicious that whoever submitted convex-dep.c
to this distribution did not even try compiling convex-dep.c.

--Tom Ngo
  ngo@harvard.edu

*** dep.c.~1~	Tue Jan 23 16:20:25 1990
--- convex-dep.c	Tue Jun  5 23:44:53 1990
***************
*** 717,723
     running; we will do a real wait, the thread will do something, and
     we will return that.  */
  
! pid_t
  wait (w)
      union wait *w;
  {

--- 717,723 -----
     running; we will do a real wait, the thread will do something, and
     we will return that.  */
  
! int
  wait (w)
      union wait *w;
  {
***************
*** 1775,1781
    if (arg)
      {
        if (sscanf (arg, "0x%x", &regnum) == 1
! 	  || sscanf (argc, "%d", &regnum) == 1)
  	{
  	  if (regnum > 0)
  	    regnum &= ~0x8000;

--- 1775,1781 -----
    if (arg)
      {
        if (sscanf (arg, "0x%x", &regnum) == 1
! 	  || sscanf (arg, "%d", &regnum) == 1)
  	{
  	  if (regnum > 0)
  	    regnum &= ~0x8000;
Technical Details
Message-ID: <9006060500.AA21205@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!HARVARD.HARVARD.EDU!ngo%tammy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,7f75b64aa78586cc,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-06-05 22:15:49 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!HARVARD.HARVARD.EDU!ngo%tammy
From: ngo%tammy@HARVARD.HARVARD.EDU
Newsgroups: gnu.gdb.bug
Subject: GDB 3.5 on Convex C220 has two trivial compilation errors
Message-ID: <9006060500.AA21205@life.ai.mit.edu>
Date: 6 Jun 90 04:55:53 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 49
Posted: Wed Jun  6 05:55:53 1990