🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #747

GDB 3.1.2 bug fix

#747
From: Michael Tiemann
Date: Fri, 07 Apr 1989 18:23
21 lines
974 bytes
This fixed a bug Dirk Grunwald found using GDB 3.1.2 with GNU C++ 1.34.2:

yahi% diff -c2 dbxread.c~ dbxread.c
*** dbxread.c~	Wed Mar 22 15:02:39 1989
--- dbxread.c	Fri Apr  7 11:22:39 1989
***************
*** 3794,3798 ****
    int read_possible_virtual_info = 0;
  
!   if (TYPE_CODE (type) == TYPE_CODE_UNDEF)
      {
        TYPE_MAIN_VARIANT (type) = type;
--- 3794,3798 ----
    int read_possible_virtual_info = 0;
  
!   if (TYPE_MAIN_VARIANT (type) == 0)
      {
        TYPE_MAIN_VARIANT (type) = type;
yahi% 

Michael
Technical Details
Message-ID: <8904071823.AA17790@yahi.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann
From: tiemann@YAHI.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.gdb.bug
Subject: GDB 3.1.2 bug fix
Message-ID: <8904071823.AA17790@yahi.stanford.edu>
Date: 7 Apr 89 18:23:27 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21