Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Sep 7, 2024
1 parent 206a963 commit 1b9b838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ GDB was introduced with its Python support early 2011 with the release of GDB 7.
has gone since and the Python API has been massively improved, and GEF is taking advantage of them
to provide the coolest features with as little performance impact as possible.

Currently, GEF is optimized for running against GDB version 10.0+, and Python 3.10+. This allows for a
best performance and best use of the GDB Python API. However, GEF can run on older versions too,
Currently, GEF is optimized for running against GDB version 10.0+, and Python 3.10+. This allows for
a best performance and best use of the GDB Python API. However, GEF can run on older versions too,
check out [the version compatibility matrix](compat.md). For really older versions of GDB, you can
use [`gef-legacy`](https://github.com/hugsy/gef-legacy) which supports a lot of older GDB, and a
Python 2/3 compatibility layer.
Expand Down
4 changes: 2 additions & 2 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,10 +744,10 @@ def _search_for_realpath(self) -> Optional[str]:
def realpath(self) -> str:
# when in a `gef-remote` session, realpath returns the path to the binary on the local disk, not remote
if gef.session.remote is None:
return self.path
return self.path
default = self._search_for_realpath()
if default:
return default
return default
raise FileNotFoundError

def __str__(self) -> str:
Expand Down

0 comments on commit 1b9b838

Please sign in to comment.