aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/defs.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 729f487..2458508 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -2,6 +2,8 @@
* target.c (tcomplain): Mark with ATTR_NORETURN.
+ * defs.h (print_transfer_performance): Improve comments.
+
2006-07-17 Mark Kettenis <kettenis@gnu.org>
* printcmd.c: Coding style fixes: add missing spaces in comments
diff --git a/gdb/defs.h b/gdb/defs.h
index aab91c2..c9d5504 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -565,7 +565,13 @@ extern void symbol_file_command (char *, int);
/* Remote targets may wish to use this as their load function. */
extern void generic_load (char *name, int from_tty);
-/* Summarise a download */
+/* Report on STREAM the performance of memory transfer operation,
+ such as 'load'.
+ DATA_COUNT is the number of bytes transferred.
+ WRITE_COUNT is the number of separate write operations, or 0,
+ if that information is not available.
+ START_TIME is the time at which an operation was started.
+ END_TIME is the time at which an operation ended. */
struct timeval;
extern void print_transfer_performance (struct ui_file *stream,
unsigned long data_count,