Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: Maxim Grigoriev <maxim@tensilica.com>,
	gdb@sourceware.org, 	Pete MacLiesh <pmac@tensilica.com>,
		Vinay Pandit <vinayp@tensilica.com>,
		Shaiju P <shaijup@tensilica.com>,
	Marc Gauthier <marc@tensilica.com>
Subject: Re: Which MI behavior is correct ?
Date: Sat, 19 May 2007 03:03:00 -0000	[thread overview]
Message-ID: <20070519030245.GA941@caradoc.them.org> (raw)
In-Reply-To: <17998.24266.849023.454806@kahikatea.snap.net.nz>

On Sat, May 19, 2007 at 02:19:54PM +1200, Nick Roberts wrote:
>  >    If it is correct:
>  > 
>  >     - Are we supposed to recreate variables each time we enter the 
>  > function ?
>  >     - Is this efficient ?
> 
> Well the variables themselves are reallocated from the stack, so there's
> a chance that they're not the same variables.  At the moment, however
> GDB assumes that they are the same and you don't have to recreate them.

Aren't the variables associated with a particular frame ID?  I thought
we'd decided that it was the right thing to take them out of scope.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-05-19  3:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19  1:01 Maxim Grigoriev
2007-05-19  1:58 ` Maxim Grigoriev
2007-05-19  2:20 ` Nick Roberts
2007-05-19  3:03   ` Daniel Jacobowitz [this message]
2007-05-19  3:27     ` Nick Roberts
2007-05-19 19:36       ` Maxim Grigoriev
2007-05-19 23:08         ` Nick Roberts
2007-05-21  3:43           ` Maxim Grigoriev
2007-05-25 20:51         ` Jim Blandy
2007-05-25 21:48           ` Maxim Grigoriev

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=20070519030245.GA941@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=marc@tensilica.com \
    --cc=maxim@tensilica.com \
    --cc=nickrob@snap.net.nz \
    --cc=pmac@tensilica.com \
    --cc=shaijup@tensilica.com \
    --cc=vinayp@tensilica.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