diff options
author | Tom Tromey <tom@tromey.com> | 2019-04-09 20:21:06 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-05-08 16:01:44 -0600 |
commit | 5f6e90a0cec8c269634ba0bff3c9e549a903c39a (patch) | |
tree | 2eb7ff67d1ab10909eb80099f8cf6d76e25f7d0e /gdb/linux-tdep.c | |
parent | 1bd0c6e4964f68523794aded05aa4d184db44d48 (diff) | |
download | gdb-5f6e90a0cec8c269634ba0bff3c9e549a903c39a.zip gdb-5f6e90a0cec8c269634ba0bff3c9e549a903c39a.tar.gz gdb-5f6e90a0cec8c269634ba0bff3c9e549a903c39a.tar.bz2 |
Add a type-safe C++ interface to a registry
This changes DECLARE_REGISTRY to add a type-safe interface. This
interface is a C++ class that handles the details of registering a
key, and provides various useful methods, including policy-based
cleanup.
gdb/ChangeLog
2019-05-08 Tom Tromey <tom@tromey.com>
* registry.h (DECLARE_REGISTRY): Define the _key class.
Diffstat (limited to 'gdb/linux-tdep.c')
0 files changed, 0 insertions, 0 deletions