diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-08-02 14:54:28 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-08-02 14:54:28 -0700 |
commit | 13db4a0c4d307541926e503ed066b3bc17277678 (patch) | |
tree | 753ef764dd20a78ee0349e7218fe48c1b128b1f9 /gdb/linespec.c | |
parent | 2ba2f096185c201607cdb1571e51e00e8b66e449 (diff) | |
download | gdb-13db4a0c4d307541926e503ed066b3bc17277678.zip gdb-13db4a0c4d307541926e503ed066b3bc17277678.tar.gz gdb-13db4a0c4d307541926e503ed066b3bc17277678.tar.bz2 |
fbsd-nat: Correct the return type of the have_regset method.
During the development of 40c23d880386d6e8202567eaa2a6b041feb1a652,
the return value of fbsd_nat_target::have_regset was changed from a
simple boolean to returning the size of the register set. The
comments and callers were all updated for this change, but the actual
return type was accidentally left as a bool. This change fixes the
return type to be a size_t.
Current callers of this only checked the value against 0 and thus
still worked correctly.
Diffstat (limited to 'gdb/linespec.c')
0 files changed, 0 insertions, 0 deletions