This is the mail archive of the
mailing list for the GDB project.
Re: More generic_load preliminaries
- To: cagney at cygnus dot com
- Subject: Re: More generic_load preliminaries
- From: Stan Shebs <shebs at cygnus dot com>
- Date: Mon, 18 Oct 1999 07:31:56 -0700
- CC: gdb-patches at sourceware dot cygnus dot com
From: Andrew Cagney <email@example.com>
Date: Mon, 18 Oct 1999 19:47:03 +1000
Apart from minor cleanups to generic_load, this patch changes the
download summary message to:
Transfer rate: 5139 bits/sec, 93 bytes/write.
The ``, 93 bytes/write'' is new.
But what does it mean?? I as a user know about and am interested in
bits/sec, because I can compare that to nominal baud rate and see how
well the line is being used. On the other hand, I don't know what
"bytes/write" means. If I didn't know anything about GDB, I might
guess that it means calls to write(), that being the only literal
write operation I know of.
I suggest putting it on a separate line and adding more explanatory
material - "output written in multiple chunks, averaging NN
bytes/chunk" or something like that. Since this potentially comes up
for every unuspecting embedded user from now on, it's worth giving
them an extra hint as to what it means.
Is there any reason not to just flush report_transfer_performance?