Re: [PATCH 15/26] gdbserver: check for nullptr condition in regcache::get_register_status

Simon Marchi
2023-12-21T21:33:12Z

On 2/28/23 06:28, Tankut Baris Aktemur via Gdb-patches wrote:
> A regcache can be initialized with a register value buffer, in which
> case, the register_status pointer is null. This condition is checked
> in set_register_status, but not in get_register_status. Do this check
> for consistence and safety.

Ok, thanks, that answers my question on the previous patch :).

Simon