forked from Imagelibrary/binutils-gdb
* symfile.c (generic_load): Initialize data_count properly.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
|
||||||
|
|
||||||
|
* symfile.c (generic_load): Initialize data_count properly.
|
||||||
|
|
||||||
Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
|
Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* symmisc.c (print_objfile_statistics): Print memory used by
|
* symmisc.c (print_objfile_statistics): Print memory used by
|
||||||
|
|||||||
@@ -919,7 +919,7 @@ generic_load (filename, from_tty)
|
|||||||
asection *s;
|
asection *s;
|
||||||
bfd *loadfile_bfd;
|
bfd *loadfile_bfd;
|
||||||
time_t start_time, end_time; /* Start and end times of download */
|
time_t start_time, end_time; /* Start and end times of download */
|
||||||
unsigned long data_count; /* Number of bytes transferred to memory */
|
unsigned long data_count = 0; /* Number of bytes transferred to memory */
|
||||||
|
|
||||||
loadfile_bfd = bfd_openr (filename, gnutarget);
|
loadfile_bfd = bfd_openr (filename, gnutarget);
|
||||||
if (loadfile_bfd == NULL)
|
if (loadfile_bfd == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user