-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop support for GDB < 9.2 #1854
Comments
i'll take a look at this one |
in trying to remove this the tests break - specifically tls command test - doing ptrace when |
@dmur1 seems that GDB doesnt allow to read fs/gs on x86 (i386) via read register and that's why we need to use ptrace there. |
Also: would be nice to investigate this: pwndbg/pwndbg/gdblib/events.py Lines 71 to 75 in 7a528bb
We may be able to remove that abstraction nowadays? I am not sure! :P |
I'm moving the remaining thing to issue #1887. I believe that we finally dropped support for <9.2. |
We do have this in README:
So we should remove all the old workaround code we used for old GDBs < 9.2. This issue is there to track those efforts: feel free to send a PR fixing just one thing, or a PR fixing many or all of those.
Those are:
gdb77_get_register
and the relevant "if hasattr" code:pwndbg/pwndbg/gdblib/regs.py
Lines 22 to 35 in 1c4307d
_fs_gs_helper
- we don't need to useptrace
anymore iiuc:pwndbg/pwndbg/gdblib/regs.py
Lines 187 to 190 in 1c4307d
pwndbg/pwndbg/gdblib/events.py
Lines 120 to 125 in 1c4307d
entry
command mentions GDB 8.1 - we can probably drop the parentheses here:pwndbg/pwndbg/commands/start.py
Lines 87 to 89 in 1c4307d
check_repeated
, a functionality for "repeating commands execution" - the except can probably be removed, but I recommend investigating the linked issue there:pwndbg/pwndbg/commands/__init__.py
Lines 166 to 171 in 1c4307d
The text was updated successfully, but these errors were encountered: