From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: [RFC 2/5] Frame unwinding using struct value
Date: Thu, 17 Apr 2008 15:30:00 -0000 [thread overview]
Message-ID: <20080417152826.GA17488@caradoc.them.org> (raw)
In-Reply-To: <u3aq6meyp.fsf@gnu.org>
As usual, thank you for the comments.
On Tue, Apr 01, 2008 at 06:27:58AM +0300, Eli Zaretskii wrote:
> 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".
Sure; I was just moving these, but let's take the opportunity to
improve it further.
> > +Developers wishing to learn more about unwinders, are encouraged to
> > +read the @sc{dwarf} specification.
>
> How about a pointer to the DWARF Spec here?
Sounds good. I expect it will stay on dwarfstd.org for a while; it's
had several homes in the last few years.
> > +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
> "==".
Interesting, I didn't know about those. I like the block
of C code -- if you want to check whether something is a sentinel
frame in GDB, you type get_frame_type (f) == SENTINEL_FRAME -- but
@equiv will do nicely too so I'll use that.
> > +@section Selecting an Unwinder
>
> Is it a good idea to have a section without a node?
That's how most of the gdbint manual is currently arranged - one node
per chapter, except for a few more substantial ones. I can move the
new sections into nodes if you think that's better.
> Please add an @findex entry for each function you mention.
Done.
> I think we should say "lvalue" here, not "lval".
Fixed.
> > +Same as @code{frame_unwind_got_constant}, excep that the value is a target
> ^^^^^
> A typo.
Also fixed.
I'll repost the final patch in a little while.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-04-17 15:29 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
2008-04-17 15:30 ` Daniel Jacobowitz [this message]
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=20080417152826.GA17488@caradoc.them.org \
--to=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