diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2025-04-05 20:40:08 -0300 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2025-04-05 20:40:08 -0300 |
commit | 91b310a0a897b21d385b60266aea289da3f0aba5 (patch) | |
tree | 9686fb103f24ed40db1645088e21e17f7a491858 | |
parent | c2f55040d34784a5c40d25f6a58615da1b4a52be (diff) | |
download | binutils-91b310a0a897b21d385b60266aea289da3f0aba5.zip binutils-91b310a0a897b21d385b60266aea289da3f0aba5.tar.gz binutils-91b310a0a897b21d385b60266aea289da3f0aba5.tar.bz2 |
gdbserver: regcache: Update comment in supply_regblock
Since commit 84da4a1ea0ae ("gdbserver: refactor the definition and uses of
supply_regblock") there is no case where supply_regblock is passed a
nullptr for the BUF argument, and there is even a gdb_assert to make
sure of it.
Therefore remove that part of the documentation comment.
-rw-r--r-- | gdbserver/regcache.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdbserver/regcache.cc b/gdbserver/regcache.cc index c08c9ae..96855f0 100644 --- a/gdbserver/regcache.cc +++ b/gdbserver/regcache.cc @@ -353,8 +353,7 @@ supply_register_by_name_zeroed (struct regcache *regcache, #endif /* Supply the whole register set whose contents are stored in BUF, to - REGCACHE. If BUF is NULL, all the registers' values are recorded - as unavailable. */ + REGCACHE. */ void supply_regblock (struct regcache *regcache, const void *buf) |