Skip to content
Commit 5920765d authored by Andrew Burgess's avatar Andrew Burgess
Browse files

gdbserver: convert have_ptrace_getregset to a tribool



Convert the have_ptrace_getregset global within gdbserver to a
tribool.  This brings the flag into alignment with the corresponding
flag in GDB.

The gdbserver have_ptrace_getregset variable is already used as a
tribool, it just doesn't have the tribool type.

In a future commit I plan to share more code between GDB and
gdbserver, and having this variable be the same type in both code
bases will make the sharing much easier.

There should be no user visible changes after this commit.

Approved-By: default avatarJohn Baldwin <jhb@FreeBSD.org>
parent 874f4887
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment