qibuild.gdb - Tools for gdb

Tools for the GNU debugger

qibuild.gdb. contains_debug_info ( filename , objdump=None )

Check that an elf contains debug info.

qibuild.gdb. split_debug ( src , objcopy=None , objdump=None )

Split the debug information in the src binary. The debug information will be put in a .debug directory next to the executable <base_dir>/bin/foo <base_dir>/bin/.debug/foo Also uses objcopy so that the binaries and libraries still remain usable with gdb