projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58b0e6
)
* inflow.c (copy_terminal_info): Deep copy `run_terminal'.
author
Pedro Alves
<palves@redhat.com>
Sun, 24 May 2009 18:16:53 +0000
(18:16 +0000)
committer
Pedro Alves
<palves@redhat.com>
Sun, 24 May 2009 18:16:53 +0000
(18:16 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/inflow.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index d392345df309c2dcfc4bb9abd430503905d7d03d..cd8671b56d58ff1bc26f89b6eb19d943b60a9ee7 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2009-05-24 Pedro Alves <pedro@codesourcery.com>
+
+ * inflow.c (copy_terminal_info): Deep copy `run_terminal'.
+
2009-05-24 Pedro Alves <pedro@codesourcery.com>
* gdbthread.h (struct thread_info): New `pending_follow' field.
diff --git
a/gdb/inflow.c
b/gdb/inflow.c
index d71fb8177cb15045a5f8b3dfd98cefd04c39fd91..9ec45dd09015e11b811190921a2cf2781071f446 100644
(file)
--- a/
gdb/inflow.c
+++ b/
gdb/inflow.c
@@
-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