remove workaround for issue #523

see discussion here: https://github.com/pwndbg/pwndbg/issues/523
pull/1857/head
smiley 2 years ago committed by Disconnect3d
parent a9e6195d94
commit 227a7f83d4

@ -163,12 +163,7 @@ class Command(gdb.Command):
last_line = lines[-1]
number_str, command = last_line.split(maxsplit=1)
try:
number = int(number_str)
except ValueError:
# Workaround for a GDB 8.2 bug when show commands return error value
# See issue #523
return False
# A new command was entered by the user
if number not in Command.history:

Loading…
Cancel
Save