From d0342d2e9a6cfddffe658afd6d4255dcebb0b38a Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Tue, 9 Mar 2021 10:23:39 -0500
Subject: [PATCH] build.py: Streamline the gdb invocation.

There is no gdb.gdb init file in the repo, never was.

Change-Id: Ia1020ff037b5c6f36143cf63816027b0878f5b78
---
 build.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/build.py b/build.py
index 958de431..791a2745 100755
--- a/build.py
+++ b/build.py
@@ -466,11 +466,9 @@ def run_run(args):
             f.write(str(client_process.pid)+'\n')
 
         if args.debug:
-            subprocess.call(
-                ['gdb', '-x', 'gdb.gdb', './install/daemon/lib/ring/dring'],
-            )
+            subprocess.call(['gdb', './install/daemon/lib/ring/dring'])
 
-        if args.background == False:
+        if not args.background:
             dring_process.wait()
             client_process.wait()
 
-- 
GitLab