This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] mt set per-command remote-packets on|off
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 27 Nov 2013 16:58:44 -0700
- Subject: Re: [PATCH] mt set per-command remote-packets on|off
- Authentication-results: sourceware.org; auth=none
- References: <yjt2k3ftxy6y dot fsf at ruffy dot mtv dot corp dot google dot com>
>>>>> "Doug" == Doug Evans <email@example.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