🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #221

declaration of i386_follow_jump in symmetry-dep.c

#221
From: Richard Murphey
Date: Mon, 31 Jul 1989 23:28
35 lines
1475 bytes
Summary: In compiling gdb 3.2 on a sequent symmetry using gcc 1.35, gcc
complains of confilicing types for i386_follow_jump in symmetry-dep.c.

Configuration: gdb 3.2, gcc 1.35, DYNIX V3.0.12

Symptom:
gcc -O -c -g -I. dep.c
dep.c: In function i386_follow_jump:
dep.c:1141: conflicting types for `i386_follow_jump'
dep.c:38: previous declaration of `i386_follow_jump'

I don't know whether this fixes the bug, but it does appease gcc and allows
make to continue and build a working gdb.

*** symmetry-dep.c~	Fri Jul  7 03:23:29 1989
--- symmetry-dep.c	Mon Jul 31 18:01:32 1989
***************
*** 35,41
  #include <fcntl.h>
  
  static long i386_get_frame_setup ();
! static long i386_follow_jump ();
  
  /* XPT_DEBUG doesn't work yet under Dynix 3.0.12, but UNDEBUG does... */
  #define PTRACE_ATTACH XPT_DEBUG

--- 35,41 -----
  #include <fcntl.h>
  
  static long i386_get_frame_setup ();
! static i386_follow_jump ();
  
  /* XPT_DEBUG doesn't work yet under Dynix 3.0.12, but UNDEBUG does... */
  #define PTRACE_ATTACH XPT_DEBUG
Technical Details
Message-ID: <8907312328.AA06752@kappa.rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!RICE.EDU!rich

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!RICE.EDU!rich
From: rich@RICE.EDU (Richard Murphey)
Newsgroups: gnu.gdb.bug
Subject: declaration of i386_follow_jump in symmetry-dep.c
Message-ID: <8907312328.AA06752@kappa.rice.edu>
Date: 31 Jul 89 23:28:38 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35