Open main menu

CDOT Wiki β

Changes

Potential Projects

1,802 bytes added, 13:42, 27 February 2008
gcc plugin for mxr, gdb minidump support
# http://www.linuxcommand.org/man_pages/objcopy1.html (see --add-gnu-debuglink and --only-keep-debug)
# http://www.totalviewtech.com/Documentation/Tips/gnu_debuglink.html
Resources: ted, Stan Shebs, Jim Blandy == gdb support for minidumps for post-mortem debugging == Microsoft's debugger allows for loading a minidump produced during a crash and then performing post-mortem debugging. GDB supports using core files for the same purpose. In Firefox 3, we produce minidump files on all of our supported platforms for use with our Breakpad crash reporting system. Sometimes people may want to debug a crash locally using one of these minidumps. On Windows, using the symbol server, they can simply load the minidump in their debugger. Currently there is no equivalent on Linux or Mac. Extending gdb to support loading minidumps for post-mortem debugging would be useful. This project may rely on the gdb symbol server project to be truly useful. References:# http://code.google.com/p/google-breakpad/source/browse/trunk/src/google_breakpad/common/minidump_format.h# http://www.codeproject.com/KB/debug/postmortemdebug_standalone1.aspx# http://sourceware.org/gdb/current/onlinedocs/gdb_3.html#SEC7# http://sourceware.org/gdb/current/onlinedocs/gdb_9.html#SEC80Resources: ted, Stan Shebs, Jim Blandy == gcc plugin for better mxr code parsing == Currently LXR/MXR rely on a Perl script to parse C/C++ and extract variable and function names. We now have static analysis tools that can parse all of the C++ used by Mozilla correctly. It would be awesome to have a GCC plugin or tool built on Elsa that could parse C++ properly for LXR/MXR to extract all the useful information. The results could be used to improve searching and syntax highlighting. References:# http://wiki.mozilla.org/DeHydra# http://wiki.mozilla.org/Dehydra_GCC# http://www.cs.berkeley.edu/~smcpeak/elkhound/# http://timeless.justdave.net/mxr-test/webtools/source/lxr/genxrefResources: Taras Glek, timeless
1
edit