debugging problems (was Re: Suggestion - don't require sane and artsc)

Eric Pouech pouech-eric at wanadoo.fr
Wed Dec 10 13:52:36 CST 2003


> Indeed.  Looking at the loop in DEBUG_ReadExecutableDbgInfo, the values of 
> dyn.d_tag it iterates through look nothing like the output of "readelf -d 
> wine" (they should, right?)  
yup
The numbers it shows me (after adding a trace)
> don't even map to the DT_ constants I see in elf.h at all... (again, I 
> presume that they should?  fwiw, readelf -d does show a DEBUG tag)  I guess, 
> this probably means there is a problem in DEBUG_ProcessElfFile finding the 
> right address for the .dynamic section?
well, I suspect we could also lookup in the wrong file. Could you check 
that the name of the main ELF module we load in the debugger is actually 
the (full path) to the wine-(p|k)thread executable.
A+
-- 
Eric Pouech




More information about the wine-devel mailing list