gdb: LoongArch: Use GDB style to check readbuf and writebuf
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 10 May 2022 11:50:31 +0000 (19:50 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 10 May 2022 14:25:53 +0000 (22:25 +0800)
commit2c3c88db125df810ff0209d4a1fbc49161b3d9cf
treecea0772d3f5889d18729b8cb43f767c7d8412b58
parent20c4eb4226997c0de0a47d5d4c6c2eed21ed9af4
gdb: LoongArch: Use GDB style to check readbuf and writebuf

The GDB style is to write 'if (readbuf != nullptr)', and the same for
writebuf.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/loongarch-tdep.c