RE: Symbols in WinDBG for firmware loaded into memor- y?

Nathan,

Thanks for the prompt, and more importantly, correct! answer. That was
exactly what I wanted. I did try that once, but it failed, and I didn’t
figure out why. Now I know what I need to do, and I’m very pleased!

Phil

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@Exchange.Microsoft.com]
Sent: Monday, April 23, 2001 3:30 PM
To: Kernel Debugging Interest List
Cc: xxxxx@intel.com
Subject: [windbg] RE: Symbols in WinDBG for firmware loaded into memory?

.reload will do this.

.reload =,

This is only useful in the specific case where a module does not exist
in the loaded module list. This only occurs in certain cases for user
mode debugging through the kernel debugger and image headers are paged
out, or if you have written your own image loader, and the OS does not
know about this image.

The “ld” command is fairly useless. It just causes the symbols to
attempt to load. Refering to any symbol in the module does the same
thing. In other words the debugger does “ld” for you all the time.

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Monday, April 23, 2001 11:47 AM
To: Kernel Debugging Interest List
Subject: [windbg] Symbols in WinDBG for firmware loaded into memory?

Here’s my scenario:
I load an executable image ( just a plain PE format DLL) with my own PE
loader, and only call it from my driver. This all works just fine.
However, since the system hasn’t done the loading, WinDBG doesn’t see it
happen, hence doesn’t equate this blob of memory with executable
instructions with its definition of a module, hence can’t load the
symbols.
If I were using SoftICE, I could do the following:

1) Set SoftICE to load the symbol file.
2) When I get to my module, type the following:
table [image name]
symloc 1 28 0xNNNNNNNN, where NNNNNNNN is the base address of my image.

This forces it to use the previously loaded symbol file for that area of
memory, and it shows me the symbols properly.

To try to duplicate this on WinDBG, I have tried to manually force it to
load the symbol file using ld, but it either won’t do it, or I am not
asking
it to do so in the right way. I do have the right symbol path.

Is there an equivalent procedure for WinDBG, or am I going to have to
use
SoftICE?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab


You are currently subscribed to windbg as: xxxxx@microsoft.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