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> I'd like having per-remote stats so I kept them in remote_state.
Doug> The per-command stats will just report one target (and get the deltas
Doug> wrong if the target ever switches during the command), but it's a
Doug> pretty rare event at the moment.
Doug> And if/when we start having multiple remote targets be more common I
Doug> was thinking of having a command to allow dumping all the stats
Doug> (should such a need ever arise - it may not).

Doug> I was thinking about at least printing ??? instead of negative values
Doug> for the deltas should they occur.
Doug> I may do that now.

Perhaps the printing ought to zero the stats in the remote_state.
Or perhaps the printing ought to be delegated to remote.c.

Tom


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