This is the mail archive of the gdb-patches@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.


On Thu, Jun 18, 2009 at 7:06 AM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote:

> I think the cast would be wrong, as dwarf2_get_section_info would really
> write 'unsigned long long' and corrupt your stack.

Assuming 'sizeof(long long) > sizeof(long)' on your machine of course.

-- 
Paul Pluzhnikov


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