This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] alloca coding standard
Nick Duffek <nsd@redhat.com> writes:
>
> On 13-Nov-2000, Kevin Buettner wrote:
>
> >I think we ought to just pick a number (in bytes) and not mention
> >pages at all.
>
> I agree. I'll rework the patch to specify 512 bytes or whatever number
> the group thinks is reasonable.
Often the size will be data-dependent, and not under the control of
the person submitting the patch at all. Is a register file 512 bytes
long?
It must be a judgement call, so I don't see much point in being
precise. Rather, the documentation should explain the issues, so the
person can make an educated decision.