llvm-project/lldb
Johnny Chen 43766d6f12 Add two utility functions to lldbutil.py:
o int_to_bytearray()
o bytearray_to_int()

They return/interpret the bytearray in the little endian format.
For big endian, simply perform ba.reverse() on the bytearray object.

And modify TestProcessAPI.py to take advantage of the functions.

llvm-svn: 126813
2011-03-02 01:36:45 +00:00
..
docs Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener. 2011-01-08 20:28:42 +00:00
examples Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener. 2011-01-08 20:28:42 +00:00
include Add an API SBProcess::GetByteOrder() and add test cases which utilizes GetByteOrder(), 2011-03-01 22:56:31 +00:00
lib Python override patch from Jai Menon. 2011-02-05 02:32:19 +00:00
lldb.xcodeproj Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Bumped Xcode project versions to lldb-46 and debugserver-131. 2011-01-29 07:14:26 +00:00
scripts Add TestProcessAPI.py which exercises some Python SBProcess API. In particular, this tests 2011-03-01 02:20:14 +00:00
source Add code to emulate LDRSH (immediate) Arm instruction. 2011-03-02 00:39:42 +00:00
test Add two utility functions to lldbutil.py: 2011-03-02 01:36:45 +00:00
tools If the user sets a working directory path using "process launch -w <path>", honor that dir path; 2011-02-26 01:36:13 +00:00
utils Add readme on the version of emacs that works with lldb-enhanced gud.el, 2011-02-25 01:51:25 +00:00
www Apply patch from Bruce Mitchener to fix spelling errors. 2011-01-07 17:16:03 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Python override patch from Jai Menon. 2011-02-05 02:32:19 +00:00