Skip to content

Commit

Permalink
fixed typo from #754
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Nov 28, 2021
1 parent 34a14bc commit 152bb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -3049,7 +3049,7 @@ def __get_register_for_selected_frame(regname, hash_key):

# 2nd chance
try:
regname == regname.lstrip("$")
regname = regname.lstrip("$")
value = gdb.selected_frame().read_register(regname)
return int(value)
except (ValueError, gdb.error):
Expand Down

0 comments on commit 152bb0c

Please sign in to comment.