Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: document frame types, plus add missing ones
Date: Wed, 05 Jan 2011 20:53:00 -0000	[thread overview]
Message-ID: <201101052053.p05KrX6H003178@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <m3aajfunzh.fsf@fleche.redhat.com> (message from Tom Tromey on	Wed, 05 Jan 2011 12:52:50 -0700)

> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 05 Jan 2011 12:52:50 -0700
> 
> This patch fixes PR python/12133.  The bug is that the return values for
> Frame.type are not documented.
> 
> While doing this, I noticed that we didn't expose all the frame types.
> So, this patch adds the missing ones as well.
> 
> Doc review needed.

> +@item gdb.INLINE_FRAME
> +A frame representing an inlined function.  The function was inlined
> +into a @code{gdb.NORMAL_FRAME} that is newer than this one.

It isn't quite clear to me what this last sentence means.

> +@item gdb.SIGTRAMP_FRAME
> +A frame in a signal handler.

Hmm, actualy, the frame for what most people consider the signal
handler is a NORMAL_FRAME.  The SIGTRAMP_FRAME is the frame
immediately preceding the signal handler.  It is for the "signal
trampoline", the bit of (low-level) code provided by the kernel or
libc that runs the true signal handler.

> +@item gdb.ARCH_FRAME
> +A fake stack frame representing a cross-architecture call.

Oh, we have those now?

> +@item gdb.SENTINEL_FRAME
> +This is like @code{gdb.NORMAL_FRAME}, but it is only used for the
> +newest frame.

Ah, so by "newest frame" you really mean "innermost frame".


  reply	other threads:[~2011-01-05 20:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-05 19:53 Tom Tromey
2011-01-05 20:53 ` Mark Kettenis [this message]
2011-01-05 21:04   ` Tom Tromey
2011-01-06 16:53   ` Tom Tromey
2011-01-06 18:21     ` Eli Zaretskii
2011-01-05 20:59 ` Eli Zaretskii

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=201101052053.p05KrX6H003178@glazunov.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /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