mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* inflow.c (copy_terminal_info): Deep copy `run_terminal'.
This commit is contained in:
@@ -492,7 +492,8 @@ copy_terminal_info (struct inferior *to, struct inferior *from)
|
||||
{
|
||||
*to->terminal_info = *from->terminal_info;
|
||||
if (from->terminal_info->run_terminal)
|
||||
to->terminal_info->run_terminal = from->terminal_info->run_terminal;
|
||||
to->terminal_info->run_terminal
|
||||
= xstrdup (from->terminal_info->run_terminal);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user