This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] parse_frame_specification (stack.c)
- To: Fernando Nasser <fnasser at redhat dot com>
- Subject: Re: [RFA] parse_frame_specification (stack.c)
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Tue, 6 Mar 2001 12:10:04 +0200 (IST)
- cc: Andrew Cagney <ac131313 at cygnus dot com>, David Taylor <taylor at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
On Mon, 5 Mar 2001, Fernando Nasser wrote:
> But, anyway, frames at very low addresses are not very likely so I guess
> we should just leave things as they are.
How low is ``low''?
The lowest possible frame address is 0x1000, I guess (for a
hypothetical architecture which leaves only the null page uncommitted
and has its stack right after that). Is it unreasonable to expect 4K
frames? I don't think so; I once had to debug a program with infinite
recursion, where I needed to wade through 750K(!) frames. As another
data point, Emacs during garbage collection routinely uses 10K or more
recursive invocations of mark_object function and its ilk.