diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 48d6a91..17f7b9a 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -109,7 +109,7 @@ void set_inferior_io_terminal (const char *terminal_name) { if (terminal_name != NULL && *terminal_name != '\0') - current_inferior ()->terminal.reset (xstrdup (terminal_name)); + current_inferior ()->terminal = make_unique_xstrdup (terminal_name); else current_inferior ()->terminal = NULL; } |