From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC 2/5] Frame unwinding using struct value
Date: Tue, 01 Apr 2008 13:23:00 -0000 [thread overview]
Message-ID: <u3aq6meyp.fsf@gnu.org> (raw)
In-Reply-To: <20080331221024.GA22334@caradoc.them.org> (message from Daniel Jacobowitz on Mon, 31 Mar 2008 18:10:24 -0400)
> Date: Mon, 31 Mar 2008 18:10:24 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> 2008-03-31 Daniel Jacobowitz <dan@codesourcery.com>
>
> * gdbint.texinfo (Stack Frames): New chapter.
> (Algorithms): Move Frames text to the new chapter.
> (Target Conditionals): Delete SAVE_DUMMY_FRAME_TOS. Document
> gdbarch_dummy_id instead of gdbarch_unwind_dummy_id.
Thanks, this part is approved, but I have some comments:
> +@node Stack Frames
> +@chapter Stack Frames
> +
> +@cindex frame
> +@cindex call stack frame
> +A frame is a construct that @value{GDBN} uses to keep track of calling
> +and called functions.
> +
> +@cindex frame, unwind
It is not useful to have several index entries that begin with the
same string and point to the same page. So I suggest to replace the
last one with "@cindex unwind frame".
> +Developers wishing to learn more about unwinders, are encouraged to
> +read the @sc{dwarf} specification.
How about a pointer to the DWARF Spec here?
> +is a sentinel frame, then @code{get_frame_type (@var{f}) ==
> +SENTINEL_FRAME}.
I would use @equiv{} here, of even @expansion{}, instead of a literal
"==".
> +@section Selecting an Unwinder
Is it a good idea to have a section without a node?
> +The architecture registers a list of frame unwinders (@code{struct
> +frame_unwind}), using the functions
> +@code{frame_unwind_prepend_unwinder} and
> +@code{frame_unwind_append_unwinder}. Each unwinder includes a
Please add an @findex entry for each function you mention.
> +The returned value must have the same type as the register. It may
> +have any lval type.
I think we should say "lvalue" here, not "lval".
> +Same as @code{frame_unwind_got_constant}, excep that the value is a target
^^^^^
A typo.
next prev parent reply other threads:[~2008-04-01 3:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-31 22:12 Daniel Jacobowitz
2008-04-01 13:23 ` Eli Zaretskii [this message]
2008-04-17 15:30 ` Daniel Jacobowitz
2008-04-04 19:10 ` Joel Brobecker
2008-04-17 15:59 ` Daniel Jacobowitz
2008-04-04 19:16 ` Joel Brobecker
2008-04-07 19:34 ` Thiago Jung Bauermann
2008-04-17 16:02 ` Daniel Jacobowitz
2008-04-30 23:31 ` Daniel Jacobowitz
[not found] ` <20080430230012.GB3801@adacore.com>
2008-05-01 3:37 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u3aq6meyp.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox