On Mon, Jun 03, 2002 at 05:37:43PM +0200, Stelian Pop wrote: > Hi everybody,
I detest having to reply myself, but... > (gdb) b 37 [...] > 37 for (i = 0; i < 20; i ++) { Everybody should have noticed that there is no error here, the line 37 is executed only 2 times (one time by each thread)... The breakpoint should have been put on the 38th line, inside the for loop... So the debugger _is_ working correctly for as long as the program execution is considered (breakpoints, step, next etc). However, I still have this warning printed each time and the symtab is not analysed correctly, meaning that I'm unable to print variables etc: > warning: (Internal error: pc 0xc89d20a8 in read in psymtab, but not in symtab.) > I tried compiling an "old" gdb version (gdb-4.18.19990928) and, surprise, this one is working correctly. No warnings and symtab accessed correectly (even on a 2.4.18 kernel). Does anybody know why this version of gdb is failing, if it is a genuine gdb bug (in which case I'll report this to the gdb authors). Thanks, Stelian. -- Stelian Pop <[EMAIL PROTECTED]> Alcove - http://www.alcove.com -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/