[patch] Use mmap instead of obstack_alloc for dwarf debug sections.
Ken Werner
ken@linux.vnet.ibm.com
Thu Jun 18 09:20:00 GMT 2009
Ken Werner wrote:
> Paul Pluzhnikov wrote:
>> On Tue, Jun 16, 2009 at 1:58 PM, Tom Tromey<tromey@redhat.com> wrote:
>>
>>> This patch ok.
>>
>> So committed.
>>
>> Thanks,
>
> Hi,
> 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? Regards
> -ken
I meant to send this to gdb-patches.
Sorry
-ken
More information about the Gdb
mailing list