On Fri, 2004-07-02 at 04:27, Eric Pouech wrote:
Adrian Rees a écrit :
Hi all,
Apologies in advance for what is probably a dumb question...
I'm trying to debug a windows application by breaking on a call to a DLL function - in fact it's the NtCreateKey function within the ntdll library.
I must be missing something fundamental because the debugger indicates that it has set a delayed breakpoint, but the breakpoint is never reached, although turning on debugging messages clearly indicates that the function is being called.
that's strange. ntdll should always be loaded when you enter the debugger. So, I wonder whether your DLLs have been compiled with the debug information set. Could you post the output of 'info share' from the debugger command line ? A+
Thanks for the response Eric,
Here is the output as requested - ntdll seems to be deferred load (have tried with emulation version set to Win98 and Win2k with same result).
As far as debugging information, I built wine with standard "configure; make; make install", is there anything else I need to set? I've confirmed that the ntdll.dll.so library contains symbol information using nm.
Adrian
$ winedbg MSMONEY.EXE fixme:console:SetConsoleCtrlHandler (0x101bb090,1) - no error checking or testin g yet WineDbg starting on pid 0xa In 32 bit mode. Wine-dbg>info share 0x44820000-44832000 Deferred midimap.drv 0x4481d000-44832000 Deferred midimap.drv<elf> 0x6bac0000-6baca000 Deferred msacm.drv 0x17d20000-17d36000 Deferred msacm32 0x17d13000-17d36000 Deferred msacm32<elf> 0x6bab2000-6baca000 Deferred msacm.drv<elf> 0x59cb0000-59cd4000 Deferred wineoss.drv 0x59c96000-59cd4000 Deferred wineoss.drv<elf> 0x4f4c0000-4f4d2000 Deferred imm32 0x4f4b5000-4f4d2000 Deferred imm32<elf> 0x0d258000-0d276000 Deferred ximcp.so.2 0x00963000-00965000 Deferred xlcutf8load.so.2 0x1ffe7000-20a5d000 Deferred libxcursor.so.1 0x010d2000-01e6e000 Deferred libgl.so.1 0x4b180000-4b1e8000 Deferred x11drv 0x09269000-09cb1000 Deferred libx11.so.6 0x000d1000-00b29000 Export libxext.so.6 0x00400000-008d1000 Deferred msmoney 0x4b170000-4b1e8000 Deferred x11drv<elf> 0x6b255000-6bdd1000 Deferred libexpat.so.0 0x23f50000-24a56000 Deferred libfreetype.so.6 0x011f0000-01242000 Deferred winmm 0x010d2000-01e6e000 Deferred libgl.so.1 0x69ea0000-69f0f000 Deferred comdlg32 0x00910000-00923000 Export winspool.drv 0x000d1000-00b29000 Export libxext.so.6 0x69e88000-69f0f000 Deferred comdlg32<elf> 0x00dd0000-00e32000 Deferred shell32 0x00f80000-0100c000 Deferred comctl32 0x00f73000-0100c000 Deferred comctl32<elf> 0x00e50000-00e87000 Deferred shlwapi 0x00f20000-00f73000 Deferred ole32 0x00ea0000-00ecf000 Deferred rpcrt4 0x003e0000-003f7000 Export iphlpapi 0x000d1000-00b29000 Export libxext.so.6 0x00458000-00ee6000 Deferred libice.so.6 0x00f03000-00f73000 Deferred ole32<elf> 0x00458000-00ee6000 Deferred libice.so.6 0x00458000-00ee6000 Deferred libice.so.6 0x5f800000-5f8e7000 Deferred mfc40 0x00cc0000-00dab000 Deferred user32 0x00458000-00ee6000 Deferred libice.so.6 0x00ac0000-00b1b000 Export gdi32 0x008e0000-00900000 Export advapi32 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x00370000-00393000 Export msvcrt40 0x003b0000-003d9000 Export msvcrt 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x00b50000-00b9d000 Deferred ntdll 0x00990000-00a69000 Export kernel32 0x00400000-008d1000 Deferred msmoney 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x00458000-00ee6000 Deferred libice.so.6 0x000d1000-00b29000 Export libxext.so.6 0x000d1000-00b29000 Export libxext.so.6 0x00944500-012a7500 Deferred libm.so.6 0x77f00f28-efe03f28 Deferred <wine-loader> Module Address Debug info Name (62 modules) ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 ELF 0x000d1000-00b29000 Export libxext.so.6 PE 0x00370000-00393000 Export msvcrt40 PE 0x003b0000-003d9000 Export msvcrt PE 0x003e0000-003f7000 Export iphlpapi PE 0x00400000-008d1000 Deferred msmoney PE 0x00400000-008d1000 Deferred msmoney ELF 0x00458000-00ee6000 Deferred libice.so.6 ELF 0x00458000-00ee6000 Deferred libice.so.6 ELF 0x00458000-00ee6000 Deferred libice.so.6 ELF 0x00458000-00ee6000 Deferred libice.so.6 ELF 0x00458000-00ee6000 Deferred libice.so.6 PE 0x008e0000-00900000 Export advapi32 PE 0x00910000-00923000 Export winspool.drv ELF 0x00944500-012a7500 Deferred libm.so.6 ELF 0x00963000-00965000 Deferred xlcutf8load.so.2 PE 0x00990000-00a69000 Export kernel32 PE 0x00ac0000-00b1b000 Export gdi32 PE 0x00b50000-00b9d000 Deferred ntdll PE 0x00cc0000-00dab000 Deferred user32 PE 0x00dd0000-00e32000 Deferred shell32 PE 0x00e50000-00e87000 Deferred shlwapi PE 0x00ea0000-00ecf000 Deferred rpcrt4 ELF 0x00f03000-00f73000 Deferred ole32<elf> -PE 0x00f20000-00f73000 Deferred ole32 ELF 0x00f73000-0100c000 Deferred comctl32<elf> -PE 0x00f80000-0100c000 Deferred comctl32 ELF 0x010d2000-01e6e000 Deferred libgl.so.1 ELF 0x010d2000-01e6e000 Deferred libgl.so.1 PE 0x011f0000-01242000 Deferred winmm ELF 0x09269000-09cb1000 Deferred libx11.so.6 ELF 0x0d258000-0d276000 Deferred ximcp.so.2 ELF 0x17d13000-17d36000 Deferred msacm32<elf> -PE 0x17d20000-17d36000 Deferred msacm32 ELF 0x1ffe7000-20a5d000 Deferred libxcursor.so.1 ELF 0x23f50000-24a56000 Deferred libfreetype.so.6 ELF 0x4481d000-44832000 Deferred midimap.drv<elf> -PE 0x44820000-44832000 Deferred midimap.drv ELF 0x4b170000-4b1e8000 Deferred x11drv<elf> -PE 0x4b180000-4b1e8000 Deferred x11drv ELF 0x4f4b5000-4f4d2000 Deferred imm32<elf> -PE 0x4f4c0000-4f4d2000 Deferred imm32 ELF 0x59c96000-59cd4000 Deferred wineoss.drv<elf> -PE 0x59cb0000-59cd4000 Deferred wineoss.drv PE 0x5f800000-5f8e7000 Deferred mfc40 ELF 0x69e88000-69f0f000 Deferred comdlg32<elf> -PE 0x69ea0000-69f0f000 Deferred comdlg32 ELF 0x6b255000-6bdd1000 Deferred libexpat.so.0 ELF 0x6bab2000-6baca000 Deferred msacm.drv<elf> -PE 0x6bac0000-6baca000 Deferred msacm.drv ELF 0x77f00f28-efe03f28 Deferred <wine-loader> Wine-dbg>