remove a workaround when fetching the gdb version

pull/1857/head
smiley 2 years ago committed by Disconnect3d
parent 227a7f83d4
commit 8abff0a346

@ -25,10 +25,7 @@ from pwndbg.commands import CommandCategory
def _gdb_version(): def _gdb_version():
try: return gdb.VERSION
return gdb.VERSION # GDB >= 8.1 (or earlier?)
except AttributeError:
return gdb.execute("show version", to_string=True).split("\n")[0]
def _py_version(): def _py_version():

Loading…
Cancel
Save