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

Re: [RFA] Move alloca(0) to wait_for_inferior() from registers_changed()


On 14-Dec-2000, Fernando Nasser wrote:

>Instead of trying to fit a alloca(0) somewhere, it would be better to get
>rid of the alloca() in this code.

"this code" is everything that can be called during the
wait_for_inferior() loop, which is most of GDB.

I think the only feasible way to implement your suggestion would be to get
rid of all occurrences of alloca(), which we've already decided not to do.

Nick

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