From c12a32aec01bb5f6956ecfcd086997322eb7ec68 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 25 May 2013 19:34:47 -0500 Subject: Properly obtain threading debug information in TDE crash handler Fix potential TDE crash handler lockup uncer certain circumstances Enhance crashtest program with three threads --- drkonqi/debuggers/gdbrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drkonqi/debuggers/gdbrc') diff --git a/drkonqi/debuggers/gdbrc b/drkonqi/debuggers/gdbrc index e414d86a0..1aa1f8c36 100644 --- a/drkonqi/debuggers/gdbrc +++ b/drkonqi/debuggers/gdbrc @@ -158,10 +158,11 @@ Comment[zu]=Umcoshi wamaphutha osekelwe umbhalo osuka kwi-GNU kwikhonsoli Exec=konsole -e gdb -nw %execname %pid ExecBatch=gdb -nw -n -batch -x %tempfile %execname %pid TryExec=gdb -BacktraceCommand=echo \\n\necho ==== (gdb) bt ====\\n\nbt\necho \\n\\n\necho ==== (gdb) bt full ====\\n\nbt full\necho\\n\\n\necho ==== (gdb) thread apply all bt ====\\n\nthread apply all bt +BacktraceCommand=echo \\n\necho ==== (gdb) bt ====\\n\nbt\necho \\n\\n\necho ==== (gdb) bt full ====\\n\nbt full\necho\\n\\n\necho ==== (gdb) info thread ====\\n\ninfo thread\necho\\n\\n\necho ==== (gdb) thread apply all bt ====\\n\nthread apply all bt RemoveFromBacktraceRegExp=\(no debugging symbols found\)\.\.\.\\n? InvalidStackFrameRegExp=\\n#[0-9]+\\s+0x[0-9A-Fa-f]+ \w* \?\? FrameRegExp=\\n#[0-9]+\\s+0x[0-9A-Fa-f]+ NeededInValidBacktraceRegExp=\\n#5 TDECrashRegExp=\\n#0[ ]*0x[0123456789abcdefABCDEF]+.*[ ]*\\n TDECrashRegExpSingle=\\n0x[0123456789abcdefABCDEF][^\\n]*\\n +ThreadRegExp=\\nThread [0123456789] -- cgit v1.2.1