aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctf.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-04-18 19:19:22 +0800
committerYao Qi <yao@codesourcery.com>2014-04-19 14:40:33 +0800
commit5723a6fd0636bed6d278ab19f6ead31d748a7a78 (patch)
tree318617822621345dfcb067d675c61911fe594a84 /gdb/ctf.c
parent614d5099da07f5899dfac9720f49b9f6f350c1bd (diff)
downloadgdb-5723a6fd0636bed6d278ab19f6ead31d748a7a78.zip
gdb-5723a6fd0636bed6d278ab19f6ead31d748a7a78.tar.gz
gdb-5723a6fd0636bed6d278ab19f6ead31d748a7a78.tar.bz2
Call post_create_inferior in ctf_open.
We don't call post_create_inferior at the end of ctf_open. It is an oversight in patch [PATCH 2/2] Create inferior for ctf target. https://sourceware.org/ml/gdb-patches/2014-01/msg01056.html This patch is to call post_create_inferior at the end of ctf_open, like the end of tfile_open. gdb: 2014-04-19 Yao Qi <yao@codesourcery.com> * ctf.c (ctf_open): Call post_create_inferior.
Diffstat (limited to 'gdb/ctf.c')
-rw-r--r--gdb/ctf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 2206e04..25d63c6 100644
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -1187,6 +1187,8 @@ ctf_open (char *dirname, int from_tty)
merge_uploaded_trace_state_variables (&uploaded_tsvs);
merge_uploaded_tracepoints (&uploaded_tps);
+
+ post_create_inferior (&ctf_ops, from_tty);
}
/* This is the implementation of target_ops method to_close. Destroy