summaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-11 18:45:23 +0000
committerTom Tromey <tromey@redhat.com>2012-12-11 18:45:23 +0000
commit8a58cc385f255a8955e331ea673bda37d194ac48 (patch)
tree8fcc57840722bbf4fcbde4c4d640559275d165df /gdb/symfile.c
parent1899a8e6d67cae5a6d7e028820f3d27ab1a8f887 (diff)
downloadgdb-8a58cc385f255a8955e331ea673bda37d194ac48.tar.gz
* 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.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 1d3278be083..9afaf91b60e 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,