raise gdb.GdbError("DisassembleInfo.address is still valid")
except RuntimeError as e:
assert str(e) == "DisassembleInfo is no longer valid."
- except:
+ except Exception:
raise gdb.GdbError(
"DisassembleInfo.address raised an unexpected exception"
)
raise gdb.GdbError("DisassembleInfo.architecture is still valid")
except RuntimeError as e:
assert str(e) == "DisassembleInfo is no longer valid."
- except:
+ except Exception:
raise gdb.GdbError(
"DisassembleInfo.architecture raised an unexpected exception"
)
raise gdb.GdbError("DisassembleInfo.read is still valid")
except RuntimeError as e:
assert str(e) == "DisassembleInfo is no longer valid."
- except:
+ except Exception:
raise gdb.GdbError(
"DisassembleInfo.read raised an unexpected exception"
)