Found a bug in gdb.. In certains conditions (always on my system), gdb segfaults. The fix should already be in the gdb cvs. And I've added it to insight.
Created attachment 30435 [details, diff] patch for gdb crash forgot, add this to the ebuild: cd ${S}/gdb epatch ${FILESDIR}/gdb-6.x-crash.patch
Don't spose you could elaborate on when the bug rears its head? I've been experiencing pretty much continual gdb segfaults (figure after about 3-4 segfaults of the prog being debugged, gdb itself segfaults). Would be curious under what conditions this occurs.
this bug occurs when trying to load separate debug information.. Especially when the program was "not" compiled with -g... so the debug info file is almost empty (it might only contain symbols, but no line numbers, etc).. And gdb used the wrong count to allocate a structure (which worked when the struct for the debug file was bigger than the original, but not the other way around)... or something like that..
arg.. they didnt put this in 6.1.1.. grrr.. its in their HEAD branch..
doesnt seem to be in 6.2.1 either :/ can you guys verify ? if so, we'll push it into our ebuilds
I had some problems on this patch with insight.. I'll try contacting the rh guy again..
any word ?
got no anwser from jimb@redhat .. re-pinging him..
added patch to 6.2.1-r1