Re: Produce NSPR pdb files?
Wan-Teh Chang <[email protected]> Fri, 7 Nov 2008 07:10:32 -0800
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 3, 2008 at 3:04 AM, Monkeon <[email protected]> wrote: > > Hi, > > I am trying to build NSPR 4.7.2 and produce pdb files to use for crash > debugging. I have tried the following command line: > > configure --disable-debug --enable-optimize --enable-win32-target=WIN95 > --enable-debug-rtl --enable-MOZ_DEBUG_SYMBOLS > > I have also tried to set MOZ_DEBUG_SYMBOLS with export, but still no pdb > files....:-( > > Anyone know how to magic them up? I don't know. I think setting the MOZ_DEBUG_SYMBOLS environment variable to 1 has a chance to work. It must be possible to generate the PDB files, because Firefox builds NSPR this way for the Breakpad crash reports. It's just that I don't know how to do that. Unrelated comments: 1. --enable-debug-rtl should not be used with --disable-debug. --enable-debug-rtl means "use the /MDd compiler flag to link with the debug C runtime library". It is not related to the generation of PDB files. 2. --enable-MOZ_DEBUG_SYMBOLS is not a valid configure option. There is no configure option to enable MOZ_DEBUG_SYMBOLS. MOZ_DEBUG_SYMBOLS has to be set as an environment variable. Wan-Teh