Gdb: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
(Created page with "tohle se musí dát do /root/.gdbinit https://gist.githubusercontent.com/skyscribe/3978082/raw/e8a0c8daec409e24b29f7c14cf74140a43a9278c/.gdbinit nebo dát do gdbinit include...")
 
No edit summary
 
Line 8: Line 8:
  ...
  ...
  bez parametru ty p?íkazy vypí?ou help
  bez parametru ty p?íkazy vypí?ou help
= core dump =
echo "/tmp/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern

Latest revision as of 11:59, 13 January 2015

tohle se musí dát do /root/.gdbinit

https://gist.githubusercontent.com/skyscribe/3978082/raw/e8a0c8daec409e24b29f7c14cf74140a43a9278c/.gdbinit

nebo dát do gdbinit include které vede k tomu obsahu. pak se obsah vectoru, mapy a pod vypisuje pomozí p?íkaz?

pvector
pmap
...
bez parametru ty p?íkazy vypí?ou help

core dump

echo "/tmp/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern