Skip to content

Commit

Permalink
reset_architecture: Return after setting arch to a specified arch (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Nov 8, 2022
1 parent a1b4f00 commit 65eece7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gef.py
Expand Up @@ -3618,6 +3618,7 @@ def reset_architecture(arch: Optional[str] = None) -> None:
gef.arch = arches[arch]()
except KeyError:
raise OSError(f"Specified arch {arch.upper()} is not supported")
return

gdb_arch = get_arch()

Expand Down

0 comments on commit 65eece7

Please sign in to comment.