🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Richard Murphey Mon, 31 Jul 1989 23:28
declaration of i386_follow_jump in symmetry-dep.c
#221
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads