This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Bug in dwarf1.c
- To: binutils at sources dot redhat dot com
- Subject: Bug in dwarf1.c
- From: "Colin Burgess" <cburgess at qnx dot com>
- Date: Tue, 8 May 2001 09:40:08 -0400 (EDT)
Hi,
In bfd/dwarf1.c, dwarf1_unit_find_nearest_line is defined as taking
an address that is of type unsigned long. However, the address is
passed as an bfd_vma, which is not necessarily unsigned long (eg on
our platform is is unsigned long long).
Should addr be redefined as bfd_vma, or should addr be cast before
calling this function?
--
cburgess@qnx.com