Skip to content
  • Friedemann Kleint's avatar
    Debugger: Use LD_PRELOAD to load debugging helper. · 10e07e01
    Friedemann Kleint authored
    
    
    on UNIX. Either set the LD_PRELOAD environment variable
    using a gdb command or have the TermGdbAdapter set the
    variable for the debuggee. For the remote adapter,
    switch on toolchain. dlopen() is a fallback for
    platforms where it is not supported and attaching
    to running processes. Fixes a crash with gdb 7.0
    (and spurious gdb 6.8 crashes with dlopen()).
    Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
    10e07e01