diff mx/mx_graal.py @ 18869:fe4f875e435f

Add --lldb option like --gdb
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 14 Jan 2015 09:53:38 -0800
parents 552993e5795a
children c446d00f2cdf
line wrap: on
line diff
--- a/mx/mx_graal.py	Wed Jan 14 09:52:41 2015 -0800
+++ b/mx/mx_graal.py	Wed Jan 14 09:53:38 2015 -0800
@@ -2392,6 +2392,7 @@
         mx.add_argument('--ecl', action='store_true', dest='make_eclipse_launch', help='create launch configuration for running VM execution(s) in Eclipse')
         mx.add_argument('--vmprefix', action='store', dest='vm_prefix', help='prefix for running the VM (e.g. "/usr/bin/gdb --args")', metavar='<prefix>')
         mx.add_argument('--gdb', action='store_const', const='/usr/bin/gdb --args', dest='vm_prefix', help='alias for --vmprefix "/usr/bin/gdb --args"')
+        mx.add_argument('--lldb', action='store_const', const='lldb --', dest='vm_prefix', help='alias for --vmprefix "lldb --"')
 
         commands.update({
             'export': [export, '[-options] [zipfile]'],