This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Debugging Windows Namespace extension dll


That is the whole point. I can't get it to break anywhere. Maybe it was a
silly example I posted, but I get the same problem if I try to put a bp on
(say) line 1 of DllMain.

Why is gdb trying to insert a bp before the dll is loaded?


>>tb 13
>>
>>Breakpoint 1 at 0x661811a0: file CompObj.cpp, line 13.
>
>>Starting program: /windows/explorer.exe /root,
>>{53161ce0-56af-11d3-abb2-444553540001},
>>bfb90000:C:/WINDOWS/SYSTEM/COMCTL32.DLL
>>bfb50000:C:/WINDOWS/SYSTEM/SHLWAPI.DLL
>>bff60000:C:/WINDOWS/SYSTEM/USER32.DLL
>>bff30000:C:/WINDOWS/SYSTEM/GDI32.DLL
>>bff70000:C:/WINDOWS/SYSTEM/KERNEL32.DLL
>>bfed0000:C:/WINDOWS/SYSTEM/ADVAPI32.DLL
>
>  Its normal because your DLL has not yet been loaded into
>memory !!
>>Cannot insert breakpoint 1:
>>
>>Cannot access memory at address 0x661811a0.
>>Am I doing something silly?
>
>   You must first break somewhere after
>the DLL was loaded, or is it possible to
>get a stop after DLL loading ?
>
>
>
>Pierre Muller
>Institut Charles Sadron
>6,rue Boussingault
>F 67083 STRASBOURG CEDEX (France)
>mailto:muller@ics.u-strasbg.fr
>Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


Mark Hindley

Acting Director of the Music Centre
University of St Andrews

01334 462226

http://www.st-andrews.ac.uk/services/music



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]