Description

I have sometimes to analyze a core from crashed process sent by our customers. To do it I need to get corresponding binaries and debuginfo symbols. Unfortunately the mapping in GDB does not work properly even if the resources are available on debuginfod server. GDB prefers binaries from the local root filesystem where it runs even if they do not match to what the core requires. Sometimes helps to use opencore or to download proper binaries to a directory and set solib-search-path/sysroot to it.

I'd like to understand how the mapping is done and how to configure gdb to open cores from different systems on my desktop without much effort.

Goals

Learn about

  • ELF & DWARF formats
  • core file structure
  • methods how core file is matched with corresponding binaries and debuginfo files in gdb and elfutils (eu-unstrip)

Find a way how to help gdb do find correct binaries and symbols for a core.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 25

Activity

  • about 7 hours ago: jcejka started this project.
  • about 7 hours ago: jcejka originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!