gdb, python: do minor modernization in execute_gdb_command
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Mon, 27 Feb 2023 09:28:40 +0000 (10:28 +0100)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Mon, 27 Feb 2023 09:28:40 +0000 (10:28 +0100)
commit4e08903f679f22be6d7ea6e33f21a9fc43210567
treebfcabf51bc9d1fbd9b8f6b7f949b125dc1b539ba
parent4dd74c176b8a656eca76f2713ca25371d52e40b0
gdb, python: do minor modernization in execute_gdb_command

Use nullptr instead of NULL and boolify two local variables in
execute_gdb_command.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/python/python.c