Mobile Apps - NK.pdb path source problem

Asked By paolo patierno
18-Dec-09 03:03 AM
Hello,
I am using a JTAG emulator to debug windows ce components. I have a problem
loading the kernel source file. The IDE of JTAG loads the kernel symbol from
nk.pdb and I can put a breakpoint into a function like ARMInit() for example.
When the breakpoint hit, the IDE cannot load the source file because the path
in the pdb file is D:\macallan\...... and not C:\WINCE500 (my installation
directory).
How can I change this path in the pdb file ? I must rebuild the Microsoft
components ?

Thanks,
Paolo
Windows Embedded
(1)
ARMInit
(1)
Report
(1)
EMVP
(1)
Eurotech.it.nospam
(1)
Breakpoint
(1)
Directory
(1)
Emulator
(1)
  Luca Calligaris [eMVP] replied to paolo patierno
18-Dec-09 04:26 AM
Some of the libraries you link to create various Windows CE .exe and .dll
are prebuilt by MS and are not changed during normal build process (until you
do not run build on the specified projects) so the PDB files report the path
of the MS machine where they
were built: PB IDE has an option to map the pdb path to the actual path on
your machine to overcome this obstacle. Maybe your JTAG IDE has a similar
option. Rebuilding a private component like nk.exe so the pdb has the
correct path can likely fail leaving you
with no option than reinstall PB. If you want to go along this backup the
original files and clone the source code to avoid as far as possible to
break something.

Recreating the MS path on your machine and copy the source code into it may
also work, although different PDB files may require different path (for
example due to QFE's)

--
Luca Calligaris (MVP-Windows Embedded)
l.calligaris.nospam@eurotech.it.nospam
www.eurotech.it
  paolo patierno replied to Luca Calligaris [eMVP]
18-Dec-09 05:34 AM
What is this option (to remapping path) in PB IDE ?

Thanks,
Paolo
  Luca Calligaris [eMVP] replied to paolo patierno
18-Dec-09 06:33 AM
EDIT menu,  SOURCE PATH MAPPING option.

For sake of curiosity: do you ever try to locate informations in the
documentation or onthe web before asking questions in the newsgroups?

Searching for 'platform builder pdb mapping' you get two blogs entries and
the link to the MSDN documentation as the first results

--
Luca Calligaris (MVP-Windows Embedded)
l.calligaris.nospam@eurotech.it.nospam
www.eurotech.it
  ppatierno replied to Luca Calligaris [eMVP]
18-Dec-09 08:15 AM
Excuse me...thank you very much for your help.
Paolo
Create New Account
help
Windows CE PRIVATE directory Mobile Apps Hello! I would like to modify some files in C do this? Should I pay any license fees besides those for shipping my device with Windows CE? Should I inform Microsoft of my changes? Thanks WindowsCE Embedded Discussions Windows Embedded (1) PPartDriver (1) Eurotech.it.nospam (1) Obstacles (1) Directory (1) Binaries (1) Lawyer (1) Fees (1) depending on the version
for me. . . I am using WinCE 6.0 with CF 2.0. Thanks, Alon WindowsCE Embedded Discussions WinCE (1) Windows Embedded (1) Windows 7 (1) VB (1) ControlIODevice (1) DwFlagsAndAttributes (1) AndDeviceIoControl (1) DwIoControlCode (1) Have you tried _WINCEROOT% \ PUBLIC \ COMMON \ OAK \ DRIVERS \ BLUETOOTH \ SAMPLE \ BTLOADER ? - - Luca Calligaris (MVP-Windows Embedded) l.calligaris.nospam@eurotech.it.nospam www.eurotech.it Hi Luca, Thanks for your reply. I am actually programming for
with writes its data into this serial conn. at 38k? QU WindowsCE Platform Builder Discussions Windows Embedded (1) Bruce.Eitman (1) GetCommProperties (1) SetCommState (1) GetCommState (1) EMVP (1) DwMaxBaud (1) Specifies (1) The two serial ports have to use the same baud rate (and data size, # pf stop bits, etc) to communicate properly - - Luca Calligaris (MVP-Windows Embedded) l.calligaris.nospam@eurotech.it.nospam www.eurotech.it I think that you are looking for GetCommProperties(), GetCommState() and SetCommState() - - Bruce
change display orientation from portrait to landscape and vice versa? QU WindowsCE Platform Builder Discussions Windows Embedded (1) BruceEitman (1) Accelerometer (1) Amosense (1) Accel (1) Eurotech.it.nospam (1) Manufacturers (1) Manfacturers (1) If you need to know how to correlate x, y rotation support in your display device driver): http: / / geekswithblogs.net / BruceEitman / archive / 2008 / 12 / 10 / windows-ce-dynamic-screen-rotation.aspx http: / / msdn.microsoft.com / en-us / library / ms914393.aspx - - Luca Calligaris (MVP-Windows Embedded) l.calligaris.nospam@eurotech.it.nospam www.eurotech.it One moment: accelerometers and inclinators are
the XXX_Open() is called when a test application calls the CreateFile(). Thanks, Paolo - - Paolo Patierno Embedded Software Engineer WindowsCE Platform Builder Discussions Windows Embedded (1) ActivateDeviceEx (1) ActiveDeviceEx (1) EMVP (1) CreateFile (1) AddDevice (1) IoControl (1) IClass (1) since your device has now power after initialization the power manager opens your device to send a IOCTL_POWER_XXX. - - Luca Calligaris (MVP-Windows Embedded) l.calligaris.nospam@eurotech.it.nospam www.eurotech.it So if I call CreateFile, the device manager open another driver