[gnu.gdb.bug] declaration of i386_follow_jump in symmetry-dep.c

rich@RICE.EDU (Richard Murphey) (08/01/89)

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