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]

[patch] Fix for excessive stack use (gdb/10457)


Greetings,

Calling alloca in a loop is a bad idea.
Here is a fix for gdb/10457; rather on the obvious side.

Thanks,
-- 
Paul Pluzhnikov

2009-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>

        * elfread.c (elf_symtab_read): Don't use alloca in a loop.

Attachment: gdb-pr10457-20091007.txt
Description: Text document


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