Re: [PATCH 0/2] Create inferior fro trace file target

Yao Qi
2014-02-05T12:54:48Z

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 (é½å°§)