Hii all ,
I am facing some issue when i remote debugging a appplication . I load correct .pdb files and symbol path .
*****************my symbol path setting using Windbg ******************
kd> !sym noisy
noisy mode - symbol prompts on
kd> .sympath D:\Windows7_x86_64_kmod_release;SRV*c:\symbol*http://msdl.microsoft.com/download/symbols
DBGHELP: Symbol Search Path: d:\windows7_x86_64_kmod_release;srv*c:\symbol*http://msdl.microsoft.com/download/symbols
DBGHELP: Symbol Search Path: d:\windows7_x86_64_kmod_release;srv*c:\symbol*http://msdl.microsoft.com/download/symbols
Symbol search path is: D:\Windows7_x86_64_kmod_release;SRV*c:\symbol*http://msdl.microsoft.com/download/symbols
Expanded Symbol search path is: d:\windows7_x86_64_kmod_release;srv*c:\symbol*http://msdl.microsoft.com/download/symbols
************* Symbol Path validation summary **************
Response Time (ms) Location
OK D:\Windows7_x86_64_kmod_release\
Deferred SRV*c:\symbol*http://msdl.microsoft.com/download/symbols
***************************************************
and after that
kd> .reload
i checked the symbol file checking using .sympath
kd> .sympath
Symbol search path is: D:\Windows7_x86_64_kmod_release;SRV*c:\symbol*http://msdl.microsoft.com/download/symbols
Expanded Symbol search path is: d:\windows7_x86_64_kmod_release;srv*c:\symbol*http://msdl.microsoft.com/download/symbols
************* Symbol Path validation summary **************
Response Time (ms) Location
OK D:\Windows7_x86_64_kmod_release\
Deferred SRV*c:\symbol*http://msdl.microsoft.com/download/symbols
After that i want to get NET_BUFFER_LIST from VM player so i done ctrl+break to stop Vm .
i tried :
kd> dt _NET_BUFFER_LIST
*************************************************************************
*** ***
*** ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn’t have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing “.symopt- 100”. Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: _NET_BUFFER_LIST ***
*** ***
*************************************************************************
Symbol _NET_BUFFER_LIST not found.
and but it works fine when i run :
kd> dt ndis!_NET_BUFFER_LIST
kd> dt _NET_BUFFER_LIST
ndis!_NET_BUFFER_LIST
+0x000 Next : Ptr64 _NET_BUFFER_LIST
+0x008 FirstNetBuffer : Ptr64 _NET_BUFFER
+0x000 Link : _SLIST_HEADER
+0x010 Context : Ptr64 _NET_BUFFER_LIST_CONTEXT
+0x018 ParentNetBufferList : Ptr64 _NET_BUFFER_LIST
+0x020 NdisPoolHandle : Ptr64 Void
+0x030 NdisReserved : [2] Ptr64 Void
+0x040 ProtocolReserved : [4] Ptr64 Void
+0x060 MiniportReserved : [2] Ptr64 Void
+0x070 Scratch : Ptr64 Void
+0x078 SourceHandle : Ptr64 Void
+0x080 NblFlags : Uint4B
+0x084 ChildRefCount : Int4B
+0x088 Flags : Uint4B
+0x08c Status : Int4B
+0x090 NetBufferListInfo : [19] Ptr64 Void
kd> dt NET_BUFFER_LIST_NEXT_NBL
not working ::
and my code contain function like :
****************
VOID CMiniport::SendNetBufferLists(
__in PNET_BUFFER_LIST NetBufferLists,
__in NDIS_PORT_NUMBER /* PortNumber */,
__in ULONG SendFlags
) {
#if defined(PacketTracingDebugOutput)
DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_TRACE_LEVEL, “>>> CMiniport::SendNetBufferLists():\n”);
#endif /* PacketTracingDebugOutput */
PNET_BUFFER_LIST pNetBufferList = NetBufferLists;
PNET_BUFFER_LIST pNextNetBufferList = NULL;
while (pNetBufferList) {
pNextNetBufferList = NET_BUFFER_LIST_NEXT_NBL(pNetBufferList);
m_ul64XmitOk ++;
NET_BUFFER_LIST_STATUS(pNetBufferList) = m_ulPausedState ? NDIS_STATUS_PAUSED : NDIS_STATUS_SUCCESS;
NdisMSendNetBufferListsComplete(m_hAdapter, pNetBufferList, SendFlags);
pNetBufferList = pNextNetBufferList;
}
#if defined(PacketTracingDebugOutput)
DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_TRACE_LEVEL, “<<< CMiniport::SendNetBufferLists(): exited\n”);
#endif /* PacketTracingDebugOutput */
}
*****************************
I need to check NET_BUFFER_LIST
so i done
kd> dt NET_BUFFER_LIST PNetBufferList
*************************************************************************
*** ***
*** ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn’t have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing “.symopt- 100”. Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: NET_BUFFER_LIST ***
*** ***
*************************************************************************
Symbol NET_BUFFER_LIST not found.
Why my private symbol is not loading ? or any command to identify NET_BUFFER_LIST ?
i want to see pNetBufferList from my code .
Thanks & regards