Prev Previous Post   Next Post Next

correct "sources" file for debugging?

Posted: 12-22-2006, 06:13 PM
Hi Experts:

I have a short "sources" file below which seems not generating correct debug
info: driver (testva.sys) size of the debug version is only a bit bigger
than fee build and could not set break point in WinDbg. Could you see
anything incorrect here? What is misssing to generate full debug info?

Thanks in Advance!
Polaris

---------- Sources -------------
TARGETNAME=testva
TARGETTYPE=DRIVER
TARGETPATH=obj

MSC_OPTIMIZATION=/Od

TARGETLIBS= $(DDK_LIB_PATH)\ndis.lib

NTDEBUG=ntsd
NTDEBUGTYPE=windbg

C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER=1
C_DEFINES=$(C_DEFINES) -DNDIS_WDM=1 -DWINNT -DWIN2000 $(DEBFLAGS)
C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1

INCLUDES=$(DDK_INC_PATH);

..asm{$O\}.obj: ml /coff /Fo$@ /c $<

SOURCES= testva.c oid.c hExcept3.asm testva.rc

Reply With Quote

Responses to "correct "sources" file for debugging?"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 1004:Invalid resource <File(819):"%17%","machine.inf">"... Jim Belant Windows XP Embedded 9 01-14-2004 11:11 AM
[Again] Error 1004:Invalid resource <File(819):"%17%","machine.inf">" steve_cho Windows XP Embedded 0 01-02-2004 08:47 AM
TD Error: 1004: Invalid resource: "<File(819):"%17%","machine.inf">": Juergen Striegel Windows XP Embedded 2 11-28-2003 12:20 PM
messenger and "just in time debugging" dwayne Windows XP Messenger 1 10-11-2003 05:16 AM
MMC & GPE "understandable" information sources nsnews.microsoft.com Customize Windows XP 0 09-12-2003 01:11 PM