X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/a33fc9aed4b3b4384df63850c6fc9046ecbd97f4..HEAD:/gdb/cli/cli-script.h diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h index 6ad6e61fb4..2b9483f115 100644 --- a/gdb/cli/cli-script.h +++ b/gdb/cli/cli-script.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI command implementation library. - Copyright (C) 2000-2020 Free Software Foundation, Inc. + Copyright (C) 2000-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -66,6 +66,9 @@ struct command_lines_deleter /* A reference-counted struct command_line. */ typedef std::shared_ptr counted_command_line; +/* A unique_ptr specialization for command_line. */ +typedef std::unique_ptr command_line_up; + /* * Structure for saved commands lines (for breakpoints, defined commands, etc). */