Linux: Difference between revisions

From indicium
Jump to navigation Jump to search
Stefan (talk | contribs)
Created page with "== Debugging Linux applications == ==== LDD ==== Linux LDD is just a wrapper for: LD_TRACE_LOADED_OBJECTS=1 <cmd>"
 
Stefan (talk | contribs)
No edit summary
Line 3: Line 3:
Linux LDD is just a wrapper for:
Linux LDD is just a wrapper for:
  LD_TRACE_LOADED_OBJECTS=1 <cmd>
  LD_TRACE_LOADED_OBJECTS=1 <cmd>
==== Core dumps ====
To check core dump handler:
cat /proc/sys/kernel/core_pattern
|/usr/sbin/coredump-handler %h_%t_%p.core

Revision as of 16:02, 19 May 2016

Debugging Linux applications

LDD

Linux LDD is just a wrapper for:

LD_TRACE_LOADED_OBJECTS=1 <cmd>

Core dumps

To check core dump handler:

cat /proc/sys/kernel/core_pattern

|/usr/sbin/coredump-handler %h_%t_%p.core