Well, if you are doing a SCSI miniport, you kind of have to reboot the
target anyway, but you can limit your reboot to one by breaking into the
target, unloading the module, building the new driver, resuming the target,
copying the new driver to the target, then rebooting. Just to be complete,
you can also resume the target before building the driver.
-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Thursday, August 16, 2001 9:03 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Possible feature request
Jeez, you learn something every day … thanks Sean. I was killing WinDbg
or rebooting the target. Talk about brute force, but then I tend to be a
sledgehammer kind of guy. That one goes into my personal knowledge base…
Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com
-----Original Message-----
From: Sean Bullington [mailto:xxxxx@stg.com]
Sent: Wednesday, August 15, 2001 11:09 AM
To: Kernel Debugging Interest List
Subject: [windbg] Possible feature request
Is possible to include a utility program (or even just some way to tell
a
running WinDBG) to unload a module?
Imagine the following scenario:
- I run WinDBG to debug a problem in a driver.
- I make changes to the source code.
- I have to break back into the machine in WinDBG, then do .reload -u
modulename
to unload the module/symbols.
- I use the ddkbuild.bat file (or a modified version of it) to build the
driver
and then move the driver files into a place where the debugger can find
them.
It would be nice if I could have a way, from the batch file, to tell WinDBG
to
unload certain modules. This would also eliminate the need to have multiple
copies
of the image/symbols on a machine, as I could unload the module from the
batch
file before the build process even starts and then the build process would
replace
the old image/symbols…
Yes I know it’s a minor inconvenience to have to switch back to WinDBG, but
it
would still be pretty nice to have… Since WinDBG is (as I understand it)
just a
gui on top of KD, is there some way/API that I could use to write a utility
that
tells KD to unload a module?
Just a thought,
sean
You are currently subscribed to windbg as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to windbg as: xxxxx@intel.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com