aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ctf.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6bc9d87..fd9677b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-04-19 Yao Qi <yao@codesourcery.com>
+ * ctf.c (ctf_open): Call post_create_inferior.
+
+2014-04-19 Yao Qi <yao@codesourcery.com>
+
* ctf.c (handle_id): New static variable.
(ctf_open_dir): Get handle_id from bt_context_add_trace return
value. Get the declaration of event "register" and get length
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