🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #260

No data fields

#260
From: Bryan Boreham
Date: Sun, 17 Sep 1989 19:01
24 lines
1172 bytes
Can I suggest this:

*** valprint.c~	Sun Sep 17 19:47:00 1989
--- valprint.c	Sun Sep 17 19:48:22 1989
***************
*** 1033,1038 ****
  	  fprintf_filtered (stream, "{");
  	  len = TYPE_NFIELDS (type);
! 	  if (len) fprintf_filtered (stream, "\n");
! 	  else fprintf_filtered (stream, "<no data fields>\n");
  
  	  /* If there is a base class for this type,
--- 1035,1045 ----
  	  fprintf_filtered (stream, "{");
  	  len = TYPE_NFIELDS (type);
! 	  if (len) 
! 	    fprintf_filtered (stream, "\n");
! 	  else 
! 	    if (TYPE_FLAGS (type) & TYPE_FLAG_STUB)
! 	      fprintf_filtered (stream, "<Type not defined in this context>\n");
! 	    else
! 	      fprintf_filtered (stream, "<no data fields>\n");
  
  	  /* If there is a base class for this type,
Technical Details
Message-ID: <8909171901.AA19557@edinburgh.kewill.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan
From: kewill!bryan@UUNET.UU.NET (Bryan Boreham)
Newsgroups: gnu.gdb.bug
Subject: No data fields
Message-ID: <8909171901.AA19557@edinburgh.kewill.uucp>
Date: 17 Sep 89 19:01:55 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24