diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-11 18:45:24 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-11 18:45:24 +0000 |
commit | 735522c243484a9fd3f5fb6281e3340e9a0565d0 (patch) | |
tree | 58372a0cd95a19ce7f6fefe404c80d14175c2119 /gdb/symfile.c | |
parent | 69b06cc85f4c884ae68fe35404cdfbcd188f69b9 (diff) | |
download | gdb-735522c243484a9fd3f5fb6281e3340e9a0565d0.zip gdb-735522c243484a9fd3f5fb6281e3340e9a0565d0.tar.gz gdb-735522c243484a9fd3f5fb6281e3340e9a0565d0.tar.bz2 |
* dsrec.c (report_transfer_performance): Don't declare.
(load_srec): Use gettimeofday, print_transfer_performance.
* symfile.c (report_transfer_performance): Remove.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 1d3278b..9afaf91 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -82,10 +82,6 @@ static void clear_symtab_users_cleanup (void *ignore); /* Global variables owned by this file. */ int readnow_symbol_files; /* Read full symbols immediately. */ -/* External variables and functions referenced. */ - -extern void report_transfer_performance (unsigned long, time_t, time_t); - /* Functions this file defines. */ static void load_command (char *, int); @@ -2185,24 +2181,6 @@ generic_load (char *args, int from_tty) /* Report how fast the transfer went. */ -/* DEPRECATED: cagney/1999-10-18: report_transfer_performance is being - replaced by print_transfer_performance (with a very different - function signature). */ - -void -report_transfer_performance (unsigned long data_count, time_t start_time, - time_t end_time) -{ - struct timeval start, end; - - start.tv_sec = start_time; - start.tv_usec = 0; - end.tv_sec = end_time; - end.tv_usec = 0; - - print_transfer_performance (gdb_stdout, data_count, 0, &start, &end); -} - void print_transfer_performance (struct ui_file *stream, unsigned long data_count, |