gdbserver, linux-low: add a couple of nullptr assertions.
authorWillgerodt, Felix <felix.willgerodt@intel.com>
Tue, 29 Aug 2023 13:28:04 +0000 (13:28 +0000)
committerWillgerodt, Felix <felix.willgerodt@intel.com>
Wed, 30 Aug 2023 06:32:05 +0000 (06:32 +0000)
commit59487af3c8490bc5961d330bc0ef4d5f05ecdc59
treed7af8aa98da4a1538405adac61aa826dde02b401
parentfe0f44a0caf59db09ad4bc16a46926aba96ce60d
gdbserver, linux-low: add a couple of nullptr assertions.

This safeguards a couple of places that may theoretically return NULL but
must not in this specific context.  These were found by a static analysis tool.

Approved-By: Tom Tromey <tom@tromey.com>
gdbserver/linux-low.cc