Is it possible to debug gcc compiled code ?

Discussion in 'Windows Vista Drivers' started by sirip, Oct 28, 2005.

  1. sirip

    sirip Guest

    Part of my code in the driver is compiled with gcc -g into static libs (.a).
    Those static libs are linked to the driver. Is it possible to debug using
    WinDBG ?

    If yes, how ? When I tried it, WinDBG doesn't seem to understand the symbols
    despite having correct SymbolPath. It just says code not found and doesn't
    set breakpoint.

    If not, are there any other debug tools that support this ?

    thanks
     
    sirip, Oct 28, 2005
    #1
    1. Advertisements

  2. sirip

    Don Burn Guest

    Get RID of the GCC code, rebuild it with the DDK, this is the only safe way
    to go in the Windows Kernel.
     
    Don Burn, Oct 29, 2005
    #2
    1. Advertisements

  3. No for sure. WinDbg does not understand the gcc debug info format.

    Note: the only supported tool set for the Windows kernel is the DDK.
    Period. You can, though, try replacing the DDK's compiler with Intel's one if
    you have very, very performance-requiring code like some software DSP or such.
     
    Maxim S. Shatskih, Oct 29, 2005
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.