Pavel Roskin wrote:
I agree. My gdb cannot show variables in 32-bit binaries (or maybe it's just something Wine specific), but it shows the line numbers. I traced find_symbol() in preloader.c, and it seems like symtabend is 0, so that the last loop is skipped and NULL is returned. This is also evidenced by the lack of "Found" in the log I sent in the previous message.
Perhaps you could try printing out some more debug information in the preloader's find_symbol() function? Can it see any symbols at all? Is it getting past line 795 ((!symtab) || (!strings))?
It's a x86_64 system, but I have the necessary packages for i386 development. I don't have SELinux enabled.
My system is also x86_64, and it works correctly.
Mike