fixes #660, can not get correct arm64 context (#724)

pull/727/head
苇子 6 years ago committed by GitHub
parent 5849d27446
commit b1beacf07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -286,7 +286,7 @@ class module(ModuleType):
attr = attr.lstrip('$')
try:
# Seriously, gdb? Only accepts uint32.
if 'eflags' in attr:
if 'eflags' in attr or 'cpsr' in attr:
value = gdb77_get_register(attr)
value = value.cast(pwndbg.typeinfo.uint32)
else:

Loading…
Cancel
Save