🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #8904

Determining failing signal under Ultrix

#8904
From: trq
Date: Fri, 17 Jul 1992 08:09
52 lines
1993 bytes
I sent this report in for gdb 4.4 and gdb 4.6 still has the problem.
The patch at the end is modified to work with gdb 4.6.

   Date: Tue, 18 Feb 92 11:23:37 GMT
   From: trq@dionysos.thphys.ox.ac.uk

   Gdb, version 4.4 running on a Decstation 5000 running Ultrix 4.2, does
   not print out the termination signal after reading the core file. The
   following patch to trad_unix_core_file_failing_signal() in
   bfd/trad-core.c appears to fix this.  Gdb was compiled with "configure
   decstation; make".

   I do not know if this will work for other "traditional Unix" core
   files.

   Tom Quinn        Theoretical Physics, University of Oxford
   Internet: 	 trq@dionysos.thphys.ox.ac.uk
   JANET:    	 trq@uk.ac.ox.astro
   Phone:		 44-865-273956

===================================================================
RCS file: RCS/trad-core.c,v
retrieving revision 1.1
diff -c -r1.1 trad-core.c
*** 1.1	1992/07/16 09:01:51
--- trad-core.c	1992/07/16 09:02:47
***************
*** 185,196 ****
      return 0;
  }
  
- /* ARGSUSED */
  int
! trad_unix_core_file_failing_signal (ignore_abfd)
!      bfd *ignore_abfd;
  {
!   return -1;		/* FIXME, where is it? */
  }
  
  /* ARGSUSED */
--- 185,195 ----
      return 0;
  }
  
  int
! trad_unix_core_file_failing_signal (abfd)
!      bfd *abfd;
  {
!   return abfd->tdata.trad_core_data->u.u_arg[0];
  }
  
  /* ARGSUSED */
Technical Details
Message-ID: <9207170809.AA08128@thphys.ox.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dionysos.thphys.ox.ac.uk!trq

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,bec85ad391ad6e74,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1992-07-17 19:27:06 PST
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dionysos.thphys.ox.ac.uk!trq
From: trq@dionysos.thphys.ox.ac.uk
Subject: Determining failing signal under Ultrix
Message-ID: <9207170809.AA08128@thphys.ox.ac.uk>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 17 Jul 1992 08:09:52 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 53