This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] Create inferior fro trace file target
- From: Yao Qi <yao at codesourcery dot com>
- To: Marc Khouzam <marc dot khouzam at ericsson dot com>
- Cc: "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Wed, 5 Feb 2014 20:52:31 +0800
- Subject: Re: [PATCH 0/2] Create inferior fro trace file target
- Authentication-results: sourceware.org; auth=none
- References: <1391060652-10870-1-git-send-email-yao at codesourcery dot com> <E59706EF8DB1D147B15BECA3322E4BDC1C57CE2C at eusaamb103 dot ericsson dot se>
On 01/31/2014 03:21 AM, Marc Khouzam wrote:
> When starting the debug session, for a user, it is very similar to ask
> to look at a core file than to look at a trace file. So in Eclipse, it is
> the same UI except that the user specifies if the file is a trace file
> or a core file.
>
Hmmm, that makes sense to me.
>> > These two patches bring an issue for multi-target support, say if GDB opens
>> > two trace files in two targets, what is the expected output of "info inferiors"
>> > and "info threads"?
> If you are asking about Eclipse, we don't support multi-target, so the problem
> never presented itself. Maybe this should be part of a bigger discussion about
> how trace files should be handled.
I meant these patches bring potential problems to multi-target
transition. We (GDB folks) will revisit them when we go there.
>
>> > *** BLURB HERE ***
> (Out of curiosity, I've wondered why you have the above line in your patch posts.)
>
It is part of the cover letter of this patch series, generated by
'git format-patch --cover-letter'.
--
Yao (éå)