This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


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

Re: gdb/CYGWIN


I recently tried to single step CYGWIN's GDB through a Microsoft DLL.
Specifically, I wanted
to see the assembly language instructions of GetTickCount() (which is only
4 instructions long).
When gdb got to the GetTickCount() call, it quit single stepping in
assembly language and asked me
to
     Select function name to disassemble

I could not give it any name it would understand. Is this a known problem?
I sent my question to the
gdb mailing list but I have received no responses. I sent it on Wednesday
of last week.


PS I can single step through the GetTickCount() anyway, I just can't see
any instructions. Furthermore, when GetTickCount() returns, the original
main instructions are no longer displayed. Only the addresses. The screen
looks like this:


     ...
-    0x4010a7  <main+43>:
-    0x4010ac  <main+48>:
-    0x4010af  <main+51>:
     ...

Completely blank to the right of the <main+XX>: expression.

Ed
Your Windows 2000 Arborist
T/L 589-4410; Outside: 1-919-993-4410
egb@us.ibm.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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