Skip to content
Snippets Groups Projects
Commit 8f02df76 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

lrdp-v2: make --64-bit the default, introduce --32-bit

Most new targets are now 64-bit.  Make --64-bit the default and add a
--32-bit option to force 32-bit parsing.

Change-Id: I8b77b9851b714a4708bcd34c563a84119900fb07
parent d19ebb22
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,9 @@ if __name__ == '__main__':
parser.add_option('', '--parse-qdss', action='store_true',
dest='qdss', help='Parse QDSS (deprecated)')
parser.add_option('', '--64-bit', action='store_true', dest='arm64',
help='Parse dumps as 64-bit dumps')
help='Parse dumps as 64-bit dumps (default)')
parser.add_option('', '--32-bit', action='store_true', dest='arm32',
help='Parse dumps as 32-bit dumps')
parser.add_option('', '--shell', action='store_true',
help='Run an interactive python interpreter with the ramdump loaded')
parser.add_option('', '--classic-shell', action='store_true',
......@@ -230,6 +232,12 @@ if __name__ == '__main__':
nm_path = options.nm
objdump_path = options.objdump
if options.arm64:
print_out_str('--64-bit is deprecated. Dumps are assumed to be 64-bit by default.')
print_out_str('For 32-bit dumps, use --32-bit.')
else:
options.arm64 = not options.arm32
try:
import local_settings
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment