Orphaned Response

carroll at m.cs.uiuc.edu carroll at m.cs.uiuc.edu
Mon Aug 20 06:58:00 AEST 1990


/* Written 11:26 am  Aug  7, 1990 by chip at tct.uucp in m.cs.uiuc.edu:comp.unix.i386 */
/* ---------- "Bug fix for GDB 3.5 with COFF" ---------- */
This patch fixes a bug that shows up in GDB 3.5 when reading COFF
files.  The code that reads enum members doesn't stop when it should,
thus consuming symbols that should be read elsewhere.  In my system,
it showed up when debugging gdb failed; gdb complained because the
.bb/.eb (begin block/end block) symbols didn't nest properly.
Chip Salzenberg at ComDev/TCT     <chip at tct.uucp>, <uunet!ateng!tct!chip>
/* End of text from m.cs.uiuc.edu:comp.unix.i386 */
I've experienced the same problem under ISC 2.0.2, using GCC 1.37. I've
seen underruns as well as overruns for this (I put in a similar fix, but had
it generate a warning message). It seems that it is not a GDB bug, but a
problem with the binary itself. A count is included in addition to the EOS
mark, and that count is wrong sometimes. I don't use GAS, and assembler output
from GCC seems to be correct. I'm not an expert on this, so I could be
mistaken.




More information about the Comp.unix.i386 mailing list