This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]