Article View: gnu.gdb.bug
Article #74Bug Fix for prev. message
From: Eric A. Anderson
Date: Sat, 11 Apr 1992 14:57
Date: Sat, 11 Apr 1992 14:57
29 lines
1432 bytes
1432 bytes
This context diff appears to fix the problem. gdb doesn't crash at
least.
*** buildsym.c.~3~ Fri Apr 10 22:55:07 1992
--- buildsym.c Sat Apr 11 18:54:12 1992
***************
*** 2472,2478 ****
int i;
for (i = 0; i < TYPE_N_BASECLASSES (type); ++i)
TYPE_NFN_FIELDS_TOTAL (type) +=
! TYPE_NFN_FIELDS_TOTAL (TYPE_BASECLASS (type, i));
}
for (n = nfn_fields; mainlist; mainlist = mainlist->next) {
--- 2472,2478 ----
int i;
for (i = 0; i < TYPE_N_BASECLASSES (type); ++i)
TYPE_NFN_FIELDS_TOTAL (type) +=
! TYPE_CPLUS_SPECIFIC(TYPE_BASECLASS(type,i))==NULL?0: TYPE_NFN_FIELDS_TOT
AL (TYPE_BASECLASS (type, i));
}
for (n = nfn_fields; mainlist; mainlist = mainlist->next) {
-Eric
*********************************************************
"Men, after all, are inherently weasels"
-In "Earth", by David Brin
"Yes, you're very smart. Shut up."
-In "The Princess Bride"
*********************************************************
Technical Details
Message-ID:
<YdtqvpG00Voh42Bi9U@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!andrew.cmu.edu!ea08+Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!andrew.cmu.edu!ea08+ From: ea08+@andrew.cmu.edu (Eric A. Anderson) Subject: Bug Fix for prev. message Message-ID: <YdtqvpG00Voh42Bi9U@andrew.cmu.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 11 Apr 1992 14:57:57 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 30