This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCHv2 2/2] gdb: Change how frames are selected for 'frame' and 'info frame'.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: philippe dot waroquiers at skynet dot be, gdb-patches at sourceware dot org
- Date: Wed, 06 Jun 2018 17:56:31 +0300
- Subject: Re: [PATCHv2 2/2] gdb: Change how frames are selected for 'frame' and 'info frame'.
- References: <cover.1525797846.git.andrew.burgess@embecosm.com> <cover.1525797846.git.andrew.burgess@embecosm.com> <63020671a997f926cd747677cd4e614e51e81f8d.1525797846.git.andrew.burgess@embecosm.com> <83k1sanw3t.fsf@gnu.org> <20180521115357.GS3797@embecosm.com> <83y3gddl5q.fsf@gnu.org> <20180605185318.GE15881@embecosm.com> <1528233316.1703.31.camel@skynet.be> <20180606082211.GF15881@embecosm.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 6 Jun 2018 09:22:11 +0100
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>,
> gdb-patches@sourceware.org
>
> View a frame that is not part of GDB backtrace. The frame viewed
> has stack address @var{stack-addr}, and optionally, a program
> counter address of @var{pc-addr}.
>
> This is useful mainly if the chaining of stack frames has been
> damaged by a bug, making it impossible for @value{GDBN} to assign
> numbers properly to all frames. In addition, this can be useful
> when your program has multiple stacks and switches between them.
>
> Eli, how does this sound?
Sounds good (modulo "@value{GDBN}" instead of "GDB").
Thanks.