This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: attach.exp failure


On Tue, 5 Aug 2003 13:21:33 -0400, Michael Elizabeth Chastain <mec@shout.net> said:


Looks like gdb crashed or went into a loop.


Yes.  Running GDB on itself, I get a segfault within reggroup_next, on
this line:

return el->next->group;

Which is consistent with the bug having appeared within the last 4
days, judging from ChangeLog entries.

I've seen this on two machines now: one with Red Hat 8.0, GCC 3.2, and
the other with Red Hat 7.3 (possibly modified), GCC 2.96.  Both
i686-pc-linux-gnu.

Doh, nothing in the test runs I use exercise this. It should read something like:


      if (el->group == last)
	{
	  if (el->next != NULL)
	    return el->next->group;
	  else
	    return NULL;
	}

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]