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
This commit is contained in:
parent
758e083caf
commit
b81733d9e4
@ -71,7 +71,7 @@ class Launcher:
|
|||||||
env['GJS_DEBUG_TOPICS'] = 'JS LOG'
|
env['GJS_DEBUG_TOPICS'] = 'JS LOG'
|
||||||
|
|
||||||
if self.options.debug:
|
if self.options.debug:
|
||||||
args = list(self.options.debug_command)
|
args = list(self.debug_command)
|
||||||
else:
|
else:
|
||||||
args = []
|
args = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user