Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Help me about VxD debug.

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Dear all,
Althoug this is a NT driver mail list, but can anyone help me on VxD?
How to prepare VxD with source code debug under softice?
Or are there any VxD mail list?

Comments

  • Thomas_F._DivineThomas_F._Divine Member Posts: 537
    You should read the SoftICE documentation carefully. It should explain these
    details to you.

    In addition, your first call should be to Comuware/NuMega. After all, you
    paid good money not only for the product but also for their support in using
    it.

    Regards,

    Thomas F. Divine

    PCAUSA - Toolkits & Resources For Network Software Developers
    NDIS Protocol - TDI Client - Windows 95 Redirector
    <http://www.pcausa.com&gt;

    ----- Original Message -----
    From: <[email protected]>
    To: NT Developers Interest List <[email protected]>
    Sent: Monday, May 08, 2000 10:03 PM
    Subject: [ntdev] Help me about VxD debug.


    >
    >
    > Dear all,
    > Althoug this is a NT driver mail list, but can anyone help me on VxD?
    > How to prepare VxD with source code debug under softice?
    > Or are there any VxD mail list?
    >
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi,
    build the debug version of the driver, and then use softice symbol
    loader to load and perform the translation. this will enable u to debug the
    driver. I am attaching a make file that I used, which after building the
    driver, translates the symbols using softice.The makefile is adpated from
    what is described by Walter Oney in "Systems Programming for Windows 95"( I
    found it an excellent book for developing drivers in Windows 95- if u are
    using it dont forget checking out the errata described in his web page).

    regards,
    chaitanya


    all: myvxd.vxd

    .asm.obj:
    ml -coff -DBLD_COFF -DIS_32 -W2 -c -Cx -DMASM6 -Zi -DDEBUG $*.asm
    editbin
    [email protected] -section:_EBSS=.bss$$1 -section:INITCODE=.CRT$$XCA -section:INITEND=.CRT$
    $XCZ

    .c.obj:



    cl -c -Gs -Zipl -Fdmyvxd.pdb -Od -D_X86_ -YX -W3 -DDEBLEVEL=1 -DBLD_COFF -DD
    EBUG -DIS_32 $*.c


    myvxd.vxd : devdcl.obj $*.obj $*.def
    link @<<
    -machine:i386 -def:$*.def -out:[email protected]
    -debug -debugtype:cv
    -map:$*.map -vxd vxdwraps.clb -nodefaultlib
    devdcl.obj $*.obj
    -merge:.CRT=_IDATA
    -merge:.xdata=_LDATA
    -ignore:4078 -ignore:4039
    $(OBJECTS)
    <<
    c:\Siw95\nmsym /translate:source,package,always [email protected]



    ----- Original Message -----
    From: <[email protected]>
    To: NT Developers Interest List <[email protected]>
    Sent: Tuesday, May 09, 2000 7:33 AM
    Subject: [ntdev] Help me about VxD debug.


    >
    >
    > Dear all,
    > Althoug this is a NT driver mail list, but can anyone help me on VxD?
    > How to prepare VxD with source code debug under softice?
    > Or are there any VxD mail list?
    >
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online
Writing WDF Drivers 12 September 2022 Live, Online