| OLD | NEW |
| 1 # Linux Minidump to Core | 1 # Linux Minidump to Core |
| 2 | 2 |
| 3 On Linux, Chromium can use Breakpad to generate minidump files for crashes. It | 3 On Linux, Chromium can use Breakpad to generate minidump files for crashes. It |
| 4 is possible to convert the minidump files to core files, and examine the core | 4 is possible to convert the minidump files to core files, and examine the core |
| 5 file in gdb, cgdb, or Qtcreator. In the examples below cgdb is assumed but any | 5 file in gdb, cgdb, or Qtcreator. In the examples below cgdb is assumed but any |
| 6 gdb based debugger can be used. | 6 gdb based debugger can be used. |
| 7 | 7 |
| 8 [TOC] | 8 [TOC] |
| 9 | 9 |
| 10 ## Creating the core file | 10 ## Creating the core file |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 Now add the two addresses: `7fe749a90000 + 005282c0 = 7fe749fb82c0` and in gdb,
run: | 97 Now add the two addresses: `7fe749a90000 + 005282c0 = 7fe749fb82c0` and in gdb,
run: |
| 98 | 98 |
| 99 (gdb) add-symbol-file /path/to/chrome 0x7fe749fb82c0 | 99 (gdb) add-symbol-file /path/to/chrome 0x7fe749fb82c0 |
| 100 | 100 |
| 101 Then use gdb as normal. | 101 Then use gdb as normal. |
| 102 | 102 |
| 103 ## Other resources | 103 ## Other resources |
| 104 | 104 |
| 105 For more discussion on this process see | 105 For more discussion on this process see |
| 106 [Debugging a Minidump](https://www.chromium.org/chromium-os/how-tos-and-troubles
hooting/crash-reporting/debugging-a-minidump). | 106 [Debugging a Minidump](https://www.chromium.org/chromium-os/how-tos-and-troubles
hooting/crash-reporting/debugging-a-minidump). |
| 107 This page discusses the same process in the context of ChromeOS and many of the | 107 This page discusses the same process in the context of Chrome OS and many of the |
| 108 concepts and techniques overlap. | 108 concepts and techniques overlap. |
| OLD | NEW |