* gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
authorTom Tromey <tromey@redhat.com>
Thu, 14 Mar 2013 20:26:19 +0000 (20:26 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 14 Mar 2013 20:26:19 +0000 (20:26 +0000)
commitdccee2de163c22e9610e9103814d4b93768dd6aa
tree9ec350d17410647e56d95dd2da419d194e444cd1
parentcc0ea93c7531fe59c4d7d2b01b01acb9bbe0b7fd
* gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
New fields.
(get_file_crc): Move from symfile.c.
(gdb_bfd_crc): New function.
* gdb_bfd.h (gdb_bfd_crc): Declare.
* objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
* symfile.c (get_file_crc): Move to gdb_bfd.c.
(separate_debug_file_exists): Use gdb_bfd_crc.
gdb/ChangeLog
gdb/gdb_bfd.c
gdb/gdb_bfd.h
gdb/objfiles.h
gdb/symfile.c