Eric Pouech wrote:
(the latest wine misses the debug information for the .spec.c files,
and that's were main is... could you print the name of the file and
the exact error message)
See below. Don't have them at the moment. Is there any workaround?
What do I do if there is no debug symbols for that part at all. What
do I do if there are no debug symbols at all?
that shouldn't stop gdb (not winedbg in this case) from debugging.
Normally, setting a bp on WinMain & running should do the trick.
That's why I wanted to get the exact message to know where it really
comes from.
All of the above happened at a client's site. I don't have the info
on me. I'll be able to retest on Sunday.
In any case, this is the latest wine RPMs running on RedHat 7.3 we
are talking about.
ok. Again the simpliest test is to run without ddd, in a one step mode
(without the --no-start flag).
A+
Apparently, there is a problem even without gdb at all. Attached is the
output for running "winedbg program", with no arguments at all.
The system is a RedHat 9 with kernel 2.4.20-31.9, and the latest glibc
available from redhat for it. Wine is CVS tip for today.
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting
http://www.lingnu.com/
bash-2.05b$ winedbg StackView/watchdog.exe
fixme:console:SetConsoleCtrlHandler (0x40672f48,1) - no error checking or testing yet
WineDbg starting on pid a
Breakpoint 1 at 0x005e7e90
Can't find file for ELF 'wine-kthread' ((nil))
Loaded debug information from ELF 'wine-pthread' ((nil))
Breakpoint 2 at 0x4000cfc0
Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x40017000)
No debug information in ELF '/lib/tls/libpthread.so.0' (0x4004c000)
No debug information in ELF '/lib/tls/libc.so.6' ((nil))
No debug information in ELF '/lib/libdl.so.2' (0x4005a000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/usr/local/lib/wine/ntdll.dll.so' (0x4005f000)
Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1' (0x400cd000)
No debug information in ELF '/lib/tls/libm.so.6' (0x401c0000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40031000)
No debug information in ELF '/lib/libnss_nis.so.2' (0x4003d000)
No debug information in ELF '/lib/libnsl.so.1' (0x401ff000)
Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so' (0x40330000)
Loaded debug information from 32bit DLL 'C:\Program Files\company\Bin\StackView\watchdog.exe' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40080000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40360000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x408f0000)
Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so' (0x40750000)
Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so' (0x4085d000)
Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so' (0x408d8000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40870000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40770000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IPHLPAPI.DLL' (0x40950000)
Loaded debug information from ELF '/usr/local/lib/wine/wsock32.dll.so' (0x40908000)
Loaded debug information from ELF '/usr/local/lib/wine/ws2_32.dll.so' (0x40925000)
Loaded debug information from ELF '/usr/local/lib/wine/iphlpapi.dll.so' (0x4094a000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WS2_32.DLL' (0x40930000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WSOCK32.DLL' (0x40910000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MPR.DLL' (0x40970000)
Loaded debug information from ELF '/usr/local/lib/wine/mpr.dll.so' (0x40968000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DBGHELP.DLL' (0x409b0000)
Loaded debug information from ELF '/usr/local/lib/wine/imagehlp.dll.so' (0x40984000)
Loaded debug information from ELF '/usr/local/lib/wine/dbghelp.dll.so' (0x4099d000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMAGEHLP.DLL' (0x40990000)
err:winedbg:DEBUG_ProcessDBGFile -Unable to peruse .DBG file dll\psapi.dbg
No debug information in 32bit DLL 'C:\PROGRAM FILES\company\BIN\STACKVIEW\PSAPI.DLL' (0x731b0000)
err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting
Invalid address for breakpoint 1, disabling it
Invalid address for breakpoint 2, disabling it
Process of pid=0000000a has terminated