Re: [PATCHv5 0/2] gdb: Change how frames are selected for 'frame' and 'info frame'.

Eli Zaretskii
2018-08-28T09:08:49Z

> Date: Tue, 28 Aug 2018 09:43:32 +0100
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: gdb-patches@sourceware.org, philippe.waroquiers@skynet.be
>
> I like your proposed new paragraph as it mentions both the word
> 'level' and the word 'number', and I wondered if we couldn't sidestep
> the issue of which term is "correct", at least for a little while,
> with something like this:
>
> @value{GDBN} labels each existing stack frame with a @dfn{level}, a
> number that is zero for the innermost frame, one for the frame that
> called it, and so on upward. These level numbers give you a way of
> designating stack frames in @value{GDBN} commands. The terms
> @dfn{frame number} and @dfn{frame level} can be used interchangably to
> describe this number.
>
> I'd also propose we add both 'frame number' and 'frame level' to the
> concept index (see patch below). Do you think that if I added this
> chunk to the existing level patch we would have something that was
> clear enough to merge?

Yes, thanks.