Discussion:
dumpbin nk.exe
(too old to reply)
Nguyen Nguyen
2004-10-13 16:45:26 UTC
Permalink
Hello,

I noticed that on certain builds when I do dumpbin /disasm nk.exe, I get the
function name along with the disassembly of the code, but on other build, it
does not have it.

Do you know what environment controls it? Or what controls it, in
particular?

Thanks,

Nguyen
Nguyen Nguyen
2004-10-13 17:30:13 UTC
Permalink
To add to it, here is what I meant.

StartUp:
00011000: EB000002 bl 00011010
00011004: EB000020 bl 0001108C
00011008: EB000026 bl 000110A8
0001100C: EA0050D5 b OALStartUp
00011010: E3A000D3 mov r0, #0xD3

Sometimes I can see StartUp. Now, I don't see it anymore.

Thanks for your help.

Nguyen
Post by Nguyen Nguyen
Hello,
I noticed that on certain builds when I do dumpbin /disasm nk.exe, I get the
function name along with the disassembly of the code, but on other build, it
does not have it.
Do you know what environment controls it? Or what controls it, in
particular?
Thanks,
Nguyen
Bruce Eitman (eMVP)
2004-10-13 17:50:35 UTC
Permalink
Do you have the nk.pdb file in the same directory as nk.exe?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
Nguyen Nguyen
2004-10-13 18:58:03 UTC
Permalink
Yes I do.

- Nguyen
Post by Bruce Eitman (eMVP)
Do you have the nk.pdb file in the same directory as nk.exe?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
Russ Keldorph [MS]
2004-11-17 00:44:30 UTC
Permalink
NK.EXE is just a copy of one of the KERN*.EXE files. Unfortunately, the
copy process doesn't redirect its PDB. DUMPBIN /HEADERS NK.EXE should
display the debug directory which contains the name of the PDB file that
needs to be in the same directory as NK.EXE. For example:

Debug Directories

Time Type Size RVA Pointer
-------- ------ -------- -------- --------
419A609D cv 25 0001CE78 1C278 Format: RSDS,
{F5E334D7-BCC1-4CBA-8A71-3C0AB0BFEB50}, 1, kernkitl.pdb

In the above case, you would need KERNKITL.PDB to be with NK.EXE.

If the PDB file is present, but you still don't see symbols from DUMPBIN
/DISASM, it's likely your PDB is stale and you need to rebuild. This might
happen if you rebuilt NK.EXE while another process (like the debugger) was
holding the PDB open.
--
Russ Keldorph
***@online.microsoft.com (Remove the 'online.' from my address to
reach me.)

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
--------------------
Subject: Re: dumpbin nk.exe
Date: Wed, 13 Oct 2004 14:58:03 -0400
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Newsgroups: microsoft.public.windowsce.platbuilder
NNTP-Posting-Host: 66.80.247.206
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13
phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsce.platbuilder:56418
X-Tomcat-NG: microsoft.public.windowsce.platbuilder
Yes I do.
- Nguyen
Post by Bruce Eitman (eMVP)
Do you have the nk.pdb file in the same directory as nk.exe?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
Loading...