mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr
The motivation is to reduce the number of places where unmanaged pointers are returned from allocation type routines. All of the callers are updated. There should be no user visible changes after this commit.
This commit is contained in:
@ -209,7 +209,7 @@ The flag -q disables the production of these headers and messages.%s"),
|
||||
prefix, entity_kind, entity_kind, entity_kind,
|
||||
(document_n_flag ? _("\n\
|
||||
By default, the command will include non-debug symbols in the output;\n\
|
||||
these can be excluded using the -n flag.") : ""));
|
||||
these can be excluded using the -n flag.") : "")).release ();
|
||||
}
|
||||
|
||||
/* See documentation in cli-utils.h. */
|
||||
|
Reference in New Issue
Block a user