From 2245f8f3a7ba37317280e10274e39b598a0804d3 Mon Sep 17 00:00:00 2001
From: Daniel Salzman <daniel.salzman@nic.cz>
Date: Wed, 2 Apr 2014 10:00:09 +0200
Subject: [PATCH] tests-extra: change vgdb command to backtrace all threads

---
 tests-extra/tools/dnstest/server.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests-extra/tools/dnstest/server.py b/tests-extra/tools/dnstest/server.py
index 36d3b7745..87d1d3b37 100644
--- a/tests-extra/tools/dnstest/server.py
+++ b/tests-extra/tools/dnstest/server.py
@@ -329,7 +329,8 @@ class Server(object):
                 check_call([params.gdb_bin, "-ex", "set confirm off", "-ex",
                             "target remote | %s --pid=%s" %
                             (params.vgdb_bin, self.proc.pid),
-                            "-ex", "bt full", "-ex", "q", self.daemon_bin],
+                            "-ex", "thread apply all bt full", "-ex", "q",
+                            self.daemon_bin],
                            stdout=open(self.dir + "/gdb.out", mode="a"),
                            stderr=open(self.dir + "/gdb.err", mode="a"))
             except:
-- 
GitLab