From b81733d9e41b9ae592524e225ac8d593d2e88046 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 2 Nov 2008 03:03:00 +0000 Subject: [PATCH] Fix --debug option to default to gdb When --debug is specified, pick up the default value for --debug-command of 'gdb --args' correctly. svn path=/trunk/; revision=20 --- scripts/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/launcher.py b/scripts/launcher.py index 19b076441..a52e37291 100644 --- a/scripts/launcher.py +++ b/scripts/launcher.py @@ -71,7 +71,7 @@ class Launcher: env['GJS_DEBUG_TOPICS'] = 'JS LOG' if self.options.debug: - args = list(self.options.debug_command) + args = list(self.debug_command) else: args = []