This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Use mmap instead of obstack_alloc for dwarf debug sections.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]