From 4eb1b271fc0c23eaa912e1f850429a811abc8b2a Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 27 Aug 2014 22:05:14 +0000 Subject: Make it clear that the load_addr property on SBAddress relies on lldb.target, and so can only be used in the script interpreter. llvm-svn: 216625 --- lldb/scripts/Python/interface/SBAddress.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBAddress.i b/lldb/scripts/Python/interface/SBAddress.i index 34f41557dc4..735b42c1d5b 100644 --- a/lldb/scripts/Python/interface/SBAddress.i +++ b/lldb/scripts/Python/interface/SBAddress.i @@ -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.''') %} -- cgit v1.2.3