Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] -stack-info-frame/-stack-list-frames
Date: Fri, 25 Apr 2008 11:41:00 -0000	[thread overview]
Message-ID: <18449.15452.182542.737916@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20080424230813.GA12341@caradoc.them.org>

Daniel Jacobowitz writes:
 > > Maybe Gdb could somehow identify the cases where the address isn't useful.
 > 
 > If there are known cases where the address isn't useful, I (like
 > Vladimir) do not understand why we should export it.

For the cases where it is useful?

 > > I don't think the number need be that unbounded, it's not needed for each
 > > frame, only those in which a varobj is created.  But it appears that the
 > > linked list of frames gets destroyed and recreated each time execution
 > > occurs, in which case any id information is also lost (I was looking at
 > > using an extra member in struct frame_info).
 > 
 > Right, that's the whole problem.  It has to last as long as the
 > frame_id, not the frame_info.

It looks pretty intractable.  It looks like the only place to store the
identifier is in the stack itself, perhap through some compile option,
-fframe-id, say.  I don't know if compilers are allowed to create local
variables and I guess it's all getting too complicated.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2008-04-25  2:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23  5:33 Nick Roberts
2008-04-23  5:48 ` Vladimir Prus
2008-04-23  6:03   ` Nick Roberts
2008-04-23  6:16     ` Vladimir Prus
2008-04-23  9:50       ` Nick Roberts
2008-04-23 10:32         ` Vladimir Prus
2008-04-23 13:23           ` Nick Roberts
2008-04-23 13:44             ` Daniel Jacobowitz
2008-04-23 23:04               ` Nick Roberts
2008-04-23 23:27                 ` Daniel Jacobowitz
2008-04-24  0:40                   ` Bob Rossi
2008-04-24  1:45                     ` Nick Roberts
2008-04-24  1:31                   ` Nick Roberts
2008-04-24  1:48                     ` Nick Roberts
2008-04-24 10:24                     ` Daniel Jacobowitz
2008-04-25  1:48                       ` Nick Roberts
2008-04-25  2:03                         ` Daniel Jacobowitz
2008-04-25 11:41                           ` Nick Roberts [this message]
2008-04-23 13:53             ` Vladimir Prus
2008-04-23 23:23               ` Nick Roberts

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=18449.15452.182542.737916@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --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