]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/progspace.c
Change address_space to use new and delete
authorTom Tromey <tom@tromey.com>
Sun, 18 Oct 2020 16:47:48 +0000 (10:47 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 28 Jul 2022 20:16:50 +0000 (14:16 -0600)
commitb382c16682acc33d2e81e5604c9dbd408be376d2
tree46ca3ab29dfb4437dd35db2ab605fbc1ebdf1195
parente5213e2c851c295c5e4c3e9b52606c1012029b67
Change address_space to use new and delete

This changes address_space to use new and delete, and makes some other
small C++-ification changes as well, like changing address_space_num
to be a method.

This patch was needed for the subsequent patch to rewrite the registry
system.
gdb/infrun.c
gdb/progspace.c
gdb/progspace.h
gdb/scoped-mock-context.h
gdb/target-debug.h