Hi all,
I’ve found the answer to my question. The procedure to create a DBG and a
PDB files is as follows.
- You need REBASE tool provided with the VC++ in the BIN directory /vc/bin.
- Set the build environment variables (either free build or checked build)
- Go to the directory containing the driver SYS file and type at the prompt
as
rebase -b -x
for example,
I tried this on a checked build as follows. My driver name is PASSTHRU.SYS
c:\ntddk\src\network\ndis\passthru\objchk\i386>rebase -b 0x10000 -x Symbols
passthru.sys
This created a sybmols\sys directory containing the PASSTHRU.PDB and
PASSTHRU.DBG files.
Thank you all,
Regards,
Mohasin
==================================================
Syed Mohasin Zaki
Engineer-Software
Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company
==================================================
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hmmm, yes well that is indeed the procedure, however you do not need a dbg
file at all. The output from the checked build should include the pdb file,
and that is all you need for debugging your driver. You do not need a dbg
file. You have some other problem that you need to resolve.
Please make sure that you are using the latest (3.x) version of windbg,
available for free from Microsoft.
-----Original Message-----
From: Mohasin Zaki Syed [mailto:xxxxx@wipro.com]
Sent: Monday, May 21, 2001 5:42 AM
To: NT Developers Interest List
Subject: [ntdev] Way to create DBG and PDB files.
Hi all,
I’ve found the answer to my question. The procedure to create a DBG and a
PDB files is as follows.
- You need REBASE tool provided with the VC++ in the BIN directory /vc/bin.
- Set the build environment variables (either free build or checked build)
- Go to the directory containing the driver SYS file and type at the prompt
as
rebase -b -x
for example,
I tried this on a checked build as follows. My driver name is PASSTHRU.SYS
c:\ntddk\src\network\ndis\passthru\objchk\i386>rebase -b 0x10000 -x Symbols
passthru.sys
This created a sybmols\sys directory containing the PASSTHRU.PDB and
PASSTHRU.DBG files.
Thank you all,
Regards,
Mohasin
==================================================
Syed Mohasin Zaki
Engineer-Software
Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company
==================================================
—
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
That is correct - you don’t need to generate a .dbg file.
With the latest compiler \ linker the image itself (.sys) should point
directly to the PDB file.
We’ve actually done a lot of work in windows XP to totally remove all .dbg
files, and only have the .pdb files.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com