[wiki] [upstream] use portable gdb instructions || sk

From: <hg_AT_suckless.org>
Date: Mon, 23 Feb 2009 10:14:15 +0000 (GMT)

changeset: 215:b65ca1d2fb37
tag: tip
user: sk_AT_tc3.siemens.de
date: Mon Feb 23 00:17:22 2009 +0100
files: common/bugs.md
description:
use portable gdb instructions


diff -r 3a4be3ce02cc -r b65ca1d2fb37 common/bugs.md
--- a/common/bugs.md Sat Feb 21 22:32:00 2009 +0100
+++ b/common/bugs.md Mon Feb 23 00:17:22 2009 +0100
_AT_@ -20,7 +20,7 @@
 
 If you encounter freezes (no crash at all) of the program, you can debug as follows:
 
- $ gdb --quiet `which program` `pidof -s program`
+ $ gdb --quiet `which program` --attach `pgrep -o program`
     gdb> bt full
 
 Send the output of that command to the mailinglist along with the output of
Received on Mon Feb 23 2009 - 11:14:15 CET

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:31 CEST