19 Commits

Author SHA1 Message Date
blassey%mozilla.com
135828a746 backing out: switching narrow char system calls to wide char in windows b=418703
git-svn-id: svn://10.0.0.236/trunk@247585 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 22:46:32 +00:00
blassey%mozilla.com
8ccd9a7db0 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon
git-svn-id: svn://10.0.0.236/trunk@247573 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 21:49:58 +00:00
blassey%mozilla.com
ca294d36ae backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
git-svn-id: svn://10.0.0.236/trunk@247139 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 22:56:48 +00:00
blassey%mozilla.com
e7090aa85c switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247132 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:39:35 +00:00
roc+%cs.cmu.edu
28b54e9ef7 Bug 417903. Don't crash if _SymGetLineFromAddr64 fails. r=benjamin,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246423 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:16:41 +00:00
dbaron%dbaron.org
64213705b2 And actually get the right bug number. b=415426 (which is what the previous checkin was for as well)
git-svn-id: svn://10.0.0.236/trunk@244822 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 19:59:07 +00:00
dbaron%dbaron.org
9f4749d3b4 Switch back to evil casts, which are the only solution that works across SDK version. b=415252
git-svn-id: svn://10.0.0.236/trunk@244821 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 19:51:14 +00:00
dbaron%dbaron.org
7bbbb13aea Match new (more-const) signature for PENUMLOADED_MODULES_CALLBACK and PENUMLOADED_MODULES_CALLBACK64. b=415426 Fixing bustage on Windows tinderbox from SDK upgrade.
git-svn-id: svn://10.0.0.236/trunk@244818 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 19:34:31 +00:00
karlt+%karlt.net
4854cc31f9 Bug 326594 – Consider using backtrace() for Unix stack traces:
Add safety checks to i386/ppc unwind and use libgcc_s for amd64 and others
r=dbaron,bsmedberg a=schrep


git-svn-id: svn://10.0.0.236/trunk@239182 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 04:45:40 +00:00
dbaron%dbaron.org
b91c136b30 Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem).
git-svn-id: svn://10.0.0.236/trunk@233191 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:25 +00:00
dbaron%dbaron.org
36c6a6af01 Do stack walking on a single thread to avoid deadlocks during thread creation. b=391321 r=robarnold@mozilla.com sr=jmathies@mozilla.com (delegated by bsmedberg) a1.9=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@233190 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 05:42:04 +00:00
dbaron%dbaron.org
8844ee8553 Allow builds compiled with VC8 to function with older versions of dbghelp.dll. b=391848 r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@232351 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-19 21:38:31 +00:00
dbaron%dbaron.org
d8f902eb99 Debugging code and cleanup from fixing Windows stack traces to work on VC8-compiled builds in addition to VC7.1-compiled builds. b=391848 r=bsmedberg a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@232350 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-19 21:37:55 +00:00
dbaron%dbaron.org
a4e22967e1 Enable Linux stack walking code on Mac OS X. b=336517 r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@232183 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 00:03:29 +00:00
dbaron%dbaron.org
0553265268 Include file name and line number in Windows stack traces. b=391850 r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@232044 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 16:34:32 +00:00
dbaron%dbaron.org
ba6149a3ab Merge nsStackFrameWin and nsStackFrameUnix into nsStackWalk. b=391793 r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@231970 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 19:37:36 +00:00
dbaron%dbaron.org
d9000559b5 Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@231867 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:20:49 +00:00
dbaron%dbaron.org
af2cfceaff Split the address->symbol mapping from the rest of the stack walking code. b=374829 r=bsmedberg a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231859 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:32:50 +00:00
dbaron%dbaron.org
82477775ec Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231858 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:32:49 +00:00