This is the mail archive of the
mailing list for the GDB project.
Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections.
Paul Pluzhnikov wrote:
> On Tue, Jun 16, 2009 at 1:58 PM, Tom Tromey<email@example.com> wrote:
>> This patch ok.
> So committed.
I noticed gdb/dwarf2-frame.c:1922 (and :1950) calls dwarf2_get_section_info
with unsigned long* (5th argument). The function expects a bfd_size_type *
(a pointer to an unsigned long long on my machine). Thus the compiler issues
a warning and the gdb build fails because of -Werror. Is it sufficient to
just cast to (bfd_size_type *) or am I missing something?