Re: [PATCH] mt set per-command remote-packets on|off

Tom Tromey
2013-11-27T23:58:55Z

>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> It adds "mt set per-command packet on|off", and is helpful
Doug> in examining remote serial protocol issues.

I'm curious what happens in target-async mode with a background command.
I suppose the stats are associated with the subsequent command?

Also, not your problem I guess, but it this seems like this will do the
wrong thing when there are multiple remote targets, since the accounting
is per-remote. If you really want it to be per-command it seems that
you might as well just make the stats be globals, not in remote_state.

Doug>+ If we're communicating over a flaky channel and have to resent packets

Typo, "resend".

Tom