This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
7.7 Regression when loading a trace file
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Wed, 29 Jan 2014 13:59:56 +0000
- Subject: 7.7 Regression when loading a trace file
- Authentication-results: sourceware.org; auth=none
Hi guys,
sorry for the late message but I just noticed a regression with the proposed 7.7 when loading a tracefile. The created inferior no longer has an execution (no pid, no thread), and no MI execution event is seen anymore (=thread-group-started or =thread-created). So, I cannot load a trace file in Eclipse anymore.
Here is a broken session with 7.7 followed by a working one with 7.6.
My paperwork is still blocked so I cannot submit any fixes at this time. Any help would be appreciated.
Marc
Broken session:
> gdb.7.7 -i mi ~/runtime-TestDSF/Producer/Debug/Producer
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.7.50.20140128-cvs\n"
(gdb)
target tfile /tmp/trace1
&"target tfile /tmp/trace1\n"
=tsv-created,name="trace_timestamp",initial="0"\n
[...]
========== no MI event about a process or thread ================
^done
(gdb)
-list-thread-groups
^done,groups=[{id="i1",type="process",executable="/home/lmckhou/runtime-TestDSF/Producer/Debug/Producer"}]
================= No pid field ======================
Working session:
> gdb.7.6 -i mi ~/runtime-TestDSF/Producer/Debug/Producer
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.6.1\n"
(gdb)
target tfile /tmp/trace
&"target tfile /tmp/trace\n"
=thread-group-started,id="i1",pid="1"
=thread-created,id="1",group-id="i1"
============= Notice the above two MI events ====================
=tsv-created,name="trace_timestamp",initial="0"\n
^done
(gdb)
-list-thread-groups
^done,groups=[{id="i1",type="process",pid="1",executable="/home/lmckhou/runtime-TestDSF/Producer/Debug/Producer"}]
============= Notice the pid field ==================