[Lldb-commits] [lldb] r216625 - Make it clear that the load_addr property on SBAddress relies on lldb.target,

Jim Ingham jingham at apple.com
Wed Aug 27 15:05:14 PDT 2014


Author: jingham
Date: Wed Aug 27 17:05:14 2014
New Revision: 216625

URL: http://llvm.org/viewvc/llvm-project?rev=216625&view=rev
Log:
Make it clear that the load_addr property on SBAddress relies on lldb.target, 
and so can only be used in the script interpreter.

Modified:
    lldb/trunk/scripts/Python/interface/SBAddress.i

Modified: lldb/trunk/scripts/Python/interface/SBAddress.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBAddress.i?rev=216625&r1=216624&r2=216625&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBAddress.i (original)
+++ lldb/trunk/scripts/Python/interface/SBAddress.i Wed Aug 27 17:05:14 2014
@@ -192,7 +192,7 @@ public:
 
         __swig_getmethods__["load_addr"] = __get_load_addr_property__
         __swig_setmethods__["load_addr"] = __set_load_addr_property__
-        if _newclass: load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write property that gets/sets the SBAddress using load address. The setter resolves SBAddress using the SBTarget from lldb.target.''')
+        if _newclass: load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write property that gets/sets the SBAddress using load address. The setter resolves SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command) and not in Python based commands, or breakpoint commands.''')
 
     %}
 





More information about the lldb-commits mailing list