Change NULL to nullptr in gdb/infcmd.c and gdb/infrun.c
authorCarl Love <cel@us.ibm.com>
Wed, 16 Nov 2022 17:04:51 +0000 (11:04 -0600)
committerCarl Love <cel@us.ibm.com>
Thu, 17 Nov 2022 16:32:49 +0000 (11:32 -0500)
commit03acd4d85430c8afaa72db4daf1421ee82df53ec
tree1ab440e467e16f877bb42c7fafbf377889975b23
parent25d17459e337a4cc9856f36c55a88b072c8709c9
Change NULL to nullptr in gdb/infcmd.c and gdb/infrun.c

The GDB coding standard specifies that nullptr should be used instead of
NULL.  There are numerous uses of NULL and nullptr in files infcmd.c and
infrun.c.  This patch replaces the various uses of NULL with nullptr in
the source files.  The use of NULL in the comments was not changed.

The patch does not introduce any functional changes.

The patch has been tested on PowerPC and Intel X86_64 with no new unexpected
test failures, unresolved tests, new core files etc.
gdb/infcmd.c
gdb/infrun.c